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...

WebDNA Modules

A list of the currently available modules...

Download WebDNA Applications

WebDNA applications...

Tips and Tricks

A list of user-submitted tips ...

WebDNA Libraries

A list of available libraries for WebDNA...

F.A.Q

A compilation of some user's questions...

Related Readings:

Export data to Excel

Here's a handy way to export your data to a text or Excel file...

Setting a 30-minute Cookie

Configuring the expires time for a short-term cookie is tricky...

Find duplicate records

Find duplicate records and do something with them...

File upload example

...

ImageMagick

Use ImageMagick to manipulate images when you upload them...

Annoying character on writefile

How do I get rid of or convert the line feed character during a writefile?...