Posts: 1,556
Threads: 298
Joined: Dec 2002
Whenever I try to run my program, I get this error. Is this just a case of "beta version" syndrome, or am I messing up myself somehow? Because this line remains working in QB. Here's line 225.
Code:
IF director%(I) = 0 THEN XV%(I) = -Power \ 3
Help would be appreciated. Thank you.
Posts: 1,688
Threads: 119
Joined: Jun 2003
i don't think so... first of all, is director%() dimensioned as an array? and do you need that % in there? I don't really know what more to do unless there's more code.
Jumping Jahoolipers!
Posts: 922
Threads: 15
Joined: Jun 2003
FB won't allocate arrays implicitly, but it wouldn't complain if indexes were used on a scalar variable, the error would appear because ()'s weren't parsed with non-arrays.
I added an specific error message now, so things are more clear.. it will be included on the next release..