Looks to mostly be yours - the index you specify on the last three items is
after the closing paranthesis for the command so it is returning the same
thing it did on the writebr(get Global("arraytest")) line. That line
according to the docs may not be correct - the docs seem to indicate a blank
string will be returned for an array with no indexer value passed.
----- Original Message -----
From: "Ishimoto Ken" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 10, 2002 9:51 AM
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
>
>