I am new, and since I just ran into this error,
I of course came immediately here like the goode dawg I am.
Thee were two previous topics about it and neither one help me.
Er, well both helped... they just werent specific to my situation...
So anyway after I solved the issue,
I thought it important to mention HOW I was getting it
and the simple solution...
I had put a space in "exitfunction" as in "exit function"
and the compiler was ever so misserable with me...
( not to mention utter unhelpful )
so if your getting this error,
double check new functions, or changed functions...
mine looked a little like this :
function somefunction(var)
if ( var < normal ) then someotherfunction(var) : exit function
`do something with normal var
endfunction
obviously since "exit" and "function" were two seperate words
they were parsed at compile time as two seperate commands...
first off "exit" wasn't in a loop, but what triggers
the error is that "function" is trying to create a user function
within an existing funtion... I doubt this is goode for the
over all health of any code...
hope this helps someone down the road...
================
-Dejunai
================