Well you scared me for a moment since we use this command a lot.
The error is in the Get global command.You have
...get global("arraytest");1...
when it should be
...get global("arraytest";1)...
Michael Bond
----- Original Message -----
From: "Ishimoto Ken" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 10, 2002 4:51 PM
Subject: [Active4d-dev] get global with index
> Hi all,
>
> I have tried this code a while.
>
> If I am correct there is a Bug in the get global command, or is that my
> error??
>
> array text($at;0)
> append to array($at;"aa";"bb";"cc")
> set global array("arraytest";$at)
>
> writebr(get global array size("arraytest")) `result is 3 - OK
> writebr(get global("arraytest")) `result is aa has to be ""
> writebr(get global("arraytest");1) `result is aa - OK
> writebr(get global("arraytest");2) `result is aa has to be bb
> writebr(get global("arraytest");3) `result is aa has to be cc
>
> If it is not my error, I will put it on the BUG List. (Or maybe my BUG
> List).
>
>
> Thank you
>
> `--------------------------------------------------------
> K's ROOM (ISHIMOTO Ken)
> Saitama, Yamakubo 2-16-1-409 338-0821 JAPAN
> `--------------------------------------------------------
> `-- [E-Mail] <[EMAIL PROTECTED]>
> `--------------------------------------------------------
> `-- [K's Room] http://www.ksroom.com/
> `-- [Powerd by iBase] http://www.ibase.to/
> `--------------------------------------------------------
> I love Active 4D.
>
>
> _______________________________________________
> Active4d-dev mailing list
> [EMAIL PROTECTED]
> http://aparajitaworld.com/mailman/listinfo/active4d-dev
>