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:

F.A.Q

A compilation of some user's questions...

WebDNA reference

...

[biotype]

BioType is a behavioral biometrics WebDNA function based on ADGS research and development (from version 8...

Technical Change History

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

WebDNA Libraries

A list of available libraries for WebDNA...

WebDNA Modules

A list of the currently available modules...

Related Readings:

How old am I?

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

random password-generator code

Generate a random alpha-numeric string...

Cloning a Record

Often...

Setting a 30-minute Cookie

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

Database backup

How to make a backup of your databases...

Annoying character on writefile

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