Tom David
06-09-2008, 05:42 AM
I attached a code which just defines 100 local variables. If I put this code in a Script window and execute it than the following error message appears:
Flexscript Error VIEW:/active/scriptinputconsole140731168/script>curtext line 101 syntax error, unexpected $undefined, expecting ';'
Could not finish parsing because of previous errors.
If I delete the last local variable than the error is gone. Looks like it make no difference if you define double, int or string.
So it looks like that there is a limitation of 100 local variables which is not a lot.
I know that there are work around but who wants to use work arounds?
But maybe I just did something wrong. Hopefully!
Flexscript Error VIEW:/active/scriptinputconsole140731168/script>curtext line 101 syntax error, unexpected $undefined, expecting ';'
Could not finish parsing because of previous errors.
If I delete the last local variable than the error is gone. Looks like it make no difference if you define double, int or string.
So it looks like that there is a limitation of 100 local variables which is not a lot.
I know that there are work around but who wants to use work arounds?
But maybe I just did something wrong. Hopefully!