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:

WebDNA Modules

A list of the currently available modules...

F.A.Q

A compilation of some user's questions...

Download WebDNA Applications

WebDNA applications...

WebDNA Libraries

A list of available libraries for WebDNA...

Technical Change History

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

Tips and Tricks

A list of user-submitted tips ...

Related Readings:

Paypal IPN

...

Removing whitespace

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

Annoying character on writefile

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

Check the Federal Government's Social Security database

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

Handling credit card numbers

Encrypting the credit card numbers does the job quite nicely...

WebDNA Google Map Mashup

Generate a Google map with pins on your database addresses...