Results 1 to 4 of 4

Thread: Variable Expected error

  1. #1
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default Variable Expected error

    No, I'm not really a noob haha. I just am confused. I am getting the error:

    SCAR Code:
    Thanks Drizzt! :D
    Fixed error!

    Please do not use the above function!

    If someone could help me it would be much appreciated.

    Nava2
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  2. #2
    Join Date
    Sep 2007
    Posts
    415
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    hmm, it's a toughie, and i can't test because i don't have your vars and stuff, but i think
    SCAR Code:
    Result := GetUpText('ine');
    should be
    SCAR Code:
    Result := Isuptext('ine');

    and also i'm pretty sure by GetColorSpeedTolerance you mean ColorToleranceSpeed on the 2nd from last line

    EDIT: actually, that was not your problem, this is
    SCAR Code:
    FindColorsSpiralTolerance(RockTPA, 1460826, x - 10, y - 10, x + 10, y + 10, 6)
    should be
    SCAR Code:
    FindColorsSpiralTolerance(x,y,RockTPA, 1460826, x - 10, y - 10, x + 10, y + 10, 6)
    ... but those two were problems too
    Quote Originally Posted by That guy that wrote forefeathers
    <munklez>haha im too lazy, girls annoy me
    <munklez> they always wanna like, do stuff
    <munklez> and i just wanna program
    <munklez> and they always take all my money

  3. #3
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by drizzt View Post
    hmm, it's a toughie, and i can't test because i don't have your vars and stuff, but i think
    SCAR Code:
    Result := GetUpText('ine');
    should be
    SCAR Code:
    Result := Isuptext('ine');

    and also i'm pretty sure by GetColorSpeedTolerance you mean ColorToleranceSpeed on the 2nd from last line
    Thanks a lot, those were some errors, which probably would have came up later. But I still get the same error.

    Nava2
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  4. #4
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    Thank you so much! Rep'd and I feel like a moron

    Such an easy mistake... Thanks a lot though!

    Nava2
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Variable Expected? Never had this error before.
    By Sandstorm in forum OSR Help
    Replies: 7
    Last Post: 11-24-2008, 01:41 AM
  2. Replies: 3
    Last Post: 02-07-2008, 02:15 AM
  3. Line 0: [Error] (0:1): Variable Expected in script
    By cathering_ in forum OSR Help
    Replies: 15
    Last Post: 09-09-2007, 11:40 AM
  4. Line 1: [Error] Variable Expected in script
    By Fearlesssss in forum OSR Help
    Replies: 7
    Last Post: 05-26-2007, 10:12 PM
  5. Variable Expected
    By NinjaTerrorist in forum OSR Help
    Replies: 20
    Last Post: 02-24-2007, 11:43 AM

Posting Permissions

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