I am converting a list of keys to names (strings)
This works:
integer t=0;
integer i=0;
for (i=0;i<llGetListLength(GL);i++);
{
temp=llKey2Name(llList2Key(GL,t));
GNL=llListInsertList(GNL,[temp],t);
t++;
}
This doesn't:
integer i=0;
for (i=0;i<llGetListLength(GL);i++);
{
temp=llKey2Name(llList2Key(GL,i));
GNL=llListInsertList(GNL,[temp],i);
}
This doesn't:
integer t=0;
while (t<llGetListLength(GL));
{
temp=llKey2Name(llList2Key(GL,t));
GNL=llListInsertList(GNL,[temp],t);
t++;
}
Huh? Apparently i is counting but not allowed to be used within the for loop
I have not taken the stability dl nor have I ever seen behavior like this before.
Is it becasue there is only one element (at index 0) in the GL list?
Still shouldn't be happening ... ever ... afaik