Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

can not see my syntax error

Espresso Saarinen
old geek
Join date: 22 Jan 2006
Posts: 93
01-25-2007 23:03
CODE
list textures = [
"xx3cc6c8-e6d2-838d-d4b0-f1bff7ceba68",
"xx5585e4-378b-0d11-512f-85fe7ccbb965"
];
integer textureCount = llGetListLength(textures);
gets a syntax error right before ";(" in llGetListLength() call. i have been staring at it and permuting it for an hour. time to hope someone has better eyes than i. clue bat please.
Osgeld Barmy
Registered User
Join date: 22 Mar 2005
Posts: 3,336
01-25-2007 23:13
dunno this compiled just fine
CODE

default
{
state_entry()
{
list textures = [
"xx3cc6c8-e6d2-838d-d4b0-f1bff7ceba68",
"xx5585e4-378b-0d11-512f-85fe7ccbb965"
];
integer textureCount = llGetListLength(textures);
}
}
Espresso Saarinen
old geek
Join date: 22 Jan 2006
Posts: 93
01-25-2007 23:21
doh. sorry. late. the call was erroneously in the global section. thanks. way too late for me.