Re: delete array element

2011-07-05 Thread Bob Sneidar
I was going to say, I didn't know you could declare a global in the message box. Bob On Jul 4, 2011, at 6:05 AM, Ken Ray wrote: > >> When I try to use that command in the Message box, I get an error: >> >> global myVariable; put "A" into myVariable[1]; put "B" into myVariable[2]; >> delete

Re: delete array element

2011-07-04 Thread Ken Ray
> When I try to use that command in the Message box, I get an error: > > global myVariable; put "A" into myVariable[1]; put "B" into myVariable[2]; > delete global myVariable[2] > > "Error description: delete: bad variable expression" This is one of those cases where the Message Box can't resol

delete array element

2011-07-03 Thread Slava Paperno
Could someone help me translate this entry in the 4.6.2 Dictionary, please? === delete variable Type: command Syntax: delete {local | global | variable} {variableName | arrayIndex} === What is the "arrayIndex" here? The index of what array? It seems to be an alternative to "variableName",