Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / "Failed to GetUserFunction::GetUserFunctionDecChain" : Another Reason

Author
Message
Dejunai
19
Years of Service
User Offline
Joined: 19th Jul 2005
Location: Mentally: Manhattan; Physically: LA -doh
Posted: 25th Jul 2005 09:17
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
================

Login to post a reply

Server time is: 2024-09-23 23:23:17
Your offset time is: 2024-09-23 23:23:17