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]value=500[/text]


-Scott Anderson
Download WebDNA Now
 
Home | Contact | Support | Free Download | Developer Resources | Community Forum | Learn | News | Store | SiteMap

© Copyright 2013 WebDNA™ Software Corporation. ALL RIGHTS RESERVED - 3010 Revere St., Plover, WI 54467