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.

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]valueP0[/text]
Scott Anderson

DOWNLOAD WEBDNA NOW!

Top Articles:

Download WebDNA Applications

WebDNA applications...

WebDNA Modules

A list of the currently available modules...

WebDNA Libraries

A list of available libraries for WebDNA...

Technical Change History

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

F.A.Q

A compilation of some user's questions...

Tips and Tricks

A list of user-submitted tips ...

Related Readings:

Handling credit card numbers

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

How old am I?

You want to express an age in years given the dob (mm/dd/yyyy) and today's date...

Hideif on IP range

This will show or hide stuff according to the IP...

Spaghetti code

How to get rid of very long search strings...

Extracting the first sentence out of a block of text

I need to extract the first sentence out of a block of text...

Removing whitespace

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