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...
Tips and TricksA list of user-submitted tips ...
AWS Raw WebDNA LAMP-Plus WebServerAmazon Web Services (AWS) README for Machine Image ID...
F.A.QA compilation of some user's questions...
WebDNA LibrariesA list of available libraries for WebDNA...
Technical Change HistoryThis Technical Change History provides a reverse chronological list of WebDNA changes...
You want to express an age in years given the dob (mm/dd/yyyy) and today's date...
How many working days?This small script finds the number of working days between two dates...
WebDNA Google Map MashupGenerate a Google map with pins on your database addresses...
Redefining [date] & [time] to match your time zoneYour server is not always in the same time zone as your web site...
Cloning a RecordOften...
Using a simple Array of Variables with [interpret]The [interpret] context is very powerful command in the hands of a skilled WebDNA programmer...