Results 1 to 5 of 5

Thread: Most common errors

  1. #1
    Join Date
    Jan 2007
    Posts
    248
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Most common errors

    This is getting alittle upsetting, becuase 90% of my errors are
    Identifier Expected.... Whenever I try to make a procedure. It's soo irratatin.
    Ill post examples.

  2. #2
    Join Date
    Dec 2006
    Posts
    374
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    identifier usally means u need another end;
    Another awsome scripting forum! Check it out: www.Uberbroproductions.net/forums
    TRY MY VARROCK ZAMMY MAGE CURSER/CONFUSER/WEAKENER! THE LINK IS BELOW
    http://www.srl-forums.com/forum/varr...56.html?t=6356
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~


  3. #3
    Join Date
    Jan 2007
    Posts
    248
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    PHP Code:
    Program HumanType;
    begin
    Procedure SendKeysHuman
    (text:String);
    Var
      
    a1 Integer;
    Begin
      a1
    := 1;
      
    Repeat
        wait
    (random(220) + 15);
        
    sendkeys(copy(texta11));
        
    a1:= a1 1;
      
    Until a1 length(text);
    End;
    begin
    SendKeysHuman
    ('Test123');
    end;
    end
    I'd get Indentifier expected for the "Procedure SendKeysHuman(text: string);"

  4. #4
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    6,136
    Mentioned
    28 Post(s)
    Quoted
    17 Post(s)

    Default

    • there should not be a begin after Program; first you do all the proc/func stuff
    • you misplaced one end;


    SCAR Code:
    Program HumanType;
    Procedure SendKeysHuman(text:String);
    Var
      a1 : Integer;
    Begin
      a1:= 1;
      Repeat
        wait(random(220) + 15);
        sendkeys(copy(text, a1, 1));
        a1:= a1 + 1;
      Until a1 > length(text);
    End;
    end;
    begin
    SendKeysHuman('Test123');
    end.
    SRL is a Library of routines made by the SRL community written for the Program Simba.
    We produce Scripts for the game Runescape.

  5. #5
    Join Date
    Jan 2007
    Posts
    248
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Wow thanks, helps alot.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Common Script Errors? Post them here!
    By Daniel in forum OSR Help
    Replies: 13
    Last Post: 10-05-2008, 08:25 PM
  2. Lol...common sence anyone...?
    By Hobbit in forum Misc. Links and Programs
    Replies: 6
    Last Post: 08-15-2007, 06:41 PM
  3. Common Redundancies in Scripts
    By xxlegitxx in forum News and General
    Replies: 4
    Last Post: 08-11-2007, 02:44 PM

Posting Permissions

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