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:

Download WebDNA Applications

WebDNA applications...

WebDNA Modules

A list of the currently available modules...

Tips and Tricks

A list of user-submitted tips ...

F.A.Q

A compilation of some user's questions...

[biotype]

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

WebDNA reference

...

Related Readings:

Annoying character on writefile

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

WebDNA Google Map Mashup

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

Do you hate updating the copyright notice at the bottom of all your pages?

It's January 1st and you have to update the copyright notice at the bottom of all your websites...

How to setup CODA to work with WebDNA?

This page will show graphically how to setup CODA as a WebDNA partner :-)...

Find duplicate records

Find duplicate records and do something with them...

Using a simple Array of Variables with [interpret]

The [interpret] context is very powerful command in the hands of a skilled WebDNA programmer...