Apologies if this has been posted before (the forum could
use a search functiion!). The following code doesn't compile
(gives error "Could not resolve identifier _script"):
int _FindUnusedIID()
{
int iid;
for(iid = 0; iid < MAX_TOTAL_INVOKES; iid++) {
if(_script[iid] == "") {
return iid;
}
}
return 0 - 1;
}
The following code does:
int _FindUnusedIID()
{
int iid;
for(iid = 0; iid < MAX_TOTAL_INVOKES; iid++) {
if(len(_script[iid]) == 0) {
return iid;
}
}
return 0 - 1;
}
_script is declared as a global array of strings. Anyone else seen this before?
-- torin