How to keep the text variable after a function has finished

By default, text variables created within a function are discarded after the function has finished.

numero = 51
interpreted = N
texte = If you want to create a text variable within a function that persists after the function completes, then you need to explicitly set the variable scope to global. ᅠFor example:
[text scope=global]value=500[/text]
If you want to create a text variable within a function that persists after the function completes, then you need to explicitly set the variable scope to global. ᅠFor example:
[text scope=global]value=500[/text]
Scott Anderson

DOWNLOAD WEBDNA NOW!

Top Articles:

AWS Raw WebDNA LAMP-Plus WebServer

Amazon Web Services (AWS) README for Machine Image ID...

Download WebDNA Applications

WebDNA applications...

Technical Change History

This Technical Change History provides a reverse chronological list of WebDNA changes...

WebDNA Modules

A list of the currently available modules...

Tips and Tricks

A list of user-submitted tips ...

WebDNA reference

...

Related Readings:

Removing whitespace

How can I remove all whitespace entered by a user from an input box (ie card number)...

Check the Federal Government's Social Security database

The script on the page will check the federal government's social security database...

Cloning a Record

Often...

Extracting the first sentence out of a block of text

I need to extract the first sentence out of a block of text...

reCAPTCHA code

reCAPTCHA helps prevent automated abuse of your site (such as comment spam or bogus registrations) by using a CAPTCHA to ensure that only humans perform certain actions...

Write Once Use Many

Reuse the same code over and over again on your site with the [include] context...