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

Richard Gaskin ambassador at fourthworld.com
Fri Apr 11 02:00: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?

  put "" into sHolder

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge 2.2: Publish any database on any site
 ___________________________________________________________
 Ambassador at FourthWorld.com       http://www.FourthWorld.com
 Tel: 323-225-3717                       AIM: FourthWorldInc




More information about the use-livecode mailing list