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

Tariel Gogoberidze PMDA at earthlink.net
Fri Apr 11 22:51:01 EDT 2003


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




More information about the Use-livecode mailing list