By default, text variables created within a function are discarded after the function has finished.
numero = 51[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!
WebDNA applications...
Technical Change HistoryThis Technical Change History provides a reverse chronological list of WebDNA changes...
WebDNA LibrariesA list of available libraries for WebDNA...
F.A.QA compilation of some user's questions...
WebDNA ModulesA list of the currently available modules...
Tips and TricksA list of user-submitted tips ...
Generate a random alpha-numeric string...
Check the Federal Government's Social Security databaseThe script on the page will check the federal government's social security database...
File upload example...
Handling credit card numbersEncrypting the credit card numbers does the job quite nicely...
Removing whitespaceHow can I remove all whitespace entered by a user from an input box (ie card number)...
How old am I?You want to express an age in years given the dob (mm/dd/yyyy) and today's date...