initialize an static, local, script-wide variable to empty

erik hansen erikhans08 at yahoo.com
Fri Apr 11 23:02:01 EDT 2003


--- Tariel Gogoberidze <PMDA at earthlink.net>
wrote:
> 
> erik hansen wrote:
>  
> > i tried to initialize a static, local,
> > script-wide variable to empty but the
> debugger
> > shows
> > sHolder = empty # spelled out e-m-p-t-y!
> > sHolder is a general utility variable i would
> > like to use over and over, like sTotal.
> > 
> > the script editor disliked value(empty)
> > 
> > of course i can "put empty into sHolder" for
> each
> > handler, but is there a way to set sHolder to
> > empty between each use?
> 
> Try
> 
> local sHolder = ""
> 
> instead of 
> 
> local sHolder = empty
> 
> best regards
> Tariel

tanks for duh tip.

=====
erik at erikhansen.org    http://www.erikhansen.org

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com



More information about the use-livecode mailing list