View Full Version : Exception in Script: Invalid evaluation
Thisaintmeyo
09-30-2014, 06:37 PM
I wanted to set up more than one procedure but I keep getting this error, I have it set in my main loop to run and when you click on the line it highlights procedure, the beginning and end of the procedure.
I named a procedure that did not exist and gave the program the same name as one of the procedures so it was yelling at me. After fixing a missing end; and those two issues I no longer got that error and the script ran as intended.
The Mayor
09-30-2014, 08:18 PM
I wanted to set up more than one procedure but I keep getting this error, I have it set in my main loop to run and when you click on the line it highlights procedure, the beginning and end of the procedure.
How can anyone help if you don't post your code :p
Thisaintmeyo
09-30-2014, 08:32 PM
How can anyone help if you don't post your code :p
My bad I just thought it was a general question, kind of shy on how hard simple stuff turned out to be for me.
bonsai
09-30-2014, 09:02 PM
Four things:
* You're missing a ';' on one of your 'end's.
* You have a procedure in the middle of things that has no name. Either get rid of the loggedin stuff or make it a procedure.
* You can't name that function correctSettings because that's the name of the program. That's why the compiler is complaining.
* Don't be shy. None of us was born knowing it, so I think everyone can appreciate how frustrating it is in the beginning. Ask away.
Hoodz
09-30-2014, 09:07 PM
Four things:
* You're missing a ';' on one of your 'end's.
* You have a procedure in the middle of things that has no name. Either get rid of the loggedin stuff or make it a procedure.
* You can't name that function correctSettings because that's the name of the program. That's why the compiler is complaining.
* Don't be shy. None of us was born knowing it, so I think everyone can appreciate how frustrating it is in the beginning. Ask away.
* forgot an end; too
Thisaintmeyo
09-30-2014, 09:55 PM
I see, I forgot to take that part out after I took some other code out and must have looked over it 3 times. It now logs into the lobby and fixes the initial options, after I get it to fix the interface, I will probably be back before then :p, I will post the new script in FirstScripts.
Thank you for your help.
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.