Results 1 to 6 of 6

Thread: Exception in Script: Invalid evaluation

  1. #1
    Join Date
    Sep 2014
    Posts
    31
    Mentioned
    1 Post(s)
    Quoted
    11 Post(s)

    Default Exception in Script: Invalid evaluation

    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.
    Last edited by Thisaintmeyo; 09-30-2014 at 10:00 PM.

  2. #2
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by Thisaintmeyo View Post
    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

  3. #3
    Join Date
    Sep 2014
    Posts
    31
    Mentioned
    1 Post(s)
    Quoted
    11 Post(s)

    Default

    Quote Originally Posted by The Mayor View Post
    How can anyone help if you don't post your code
    My bad I just thought it was a general question, kind of shy on how hard simple stuff turned out to be for me.
    Last edited by Thisaintmeyo; 09-30-2014 at 08:35 PM.

  4. #4
    Join Date
    Oct 2013
    Location
    East Coast USA
    Posts
    770
    Mentioned
    61 Post(s)
    Quoted
    364 Post(s)

    Default

    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.

  5. #5
    Join Date
    Sep 2012
    Location
    Netherlands
    Posts
    2,752
    Mentioned
    193 Post(s)
    Quoted
    1468 Post(s)

    Default

    Quote Originally Posted by bonsai View Post
    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

  6. #6
    Join Date
    Sep 2014
    Posts
    31
    Mentioned
    1 Post(s)
    Quoted
    11 Post(s)

    Default

    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 , I will post the new script in FirstScripts.

    Thank you for your help.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •