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...
AWS Raw WebDNA LAMP-Plus WebServerAmazon Web Services (AWS) README for Machine Image ID...
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 ...
Technical Change HistoryThis Technical Change History provides a reverse chronological list of WebDNA changes...
Generate a random alpha-numeric string...
How to keep the text variable after a function has finishedBy default...
Spaghetti codeHow to get rid of very long search strings...
How old am I?You want to express an age in years given the dob (mm/dd/yyyy) and today's date...
Do you hate updating the copyright notice at the bottom of all your pages?It's January 1st and you have to update the copyright notice at the bottom of all your websites...
Export data to ExcelHere's a handy way to export your data to a text or Excel file...