Results 1 to 5 of 5

Thread: 'Clickaccept' unknown identifier???

  1. #1
    Join Date
    Jul 2006
    Posts
    189
    Mentioned
    1 Post(s)
    Quoted
    19 Post(s)

    Default 'Clickaccept' unknown identifier???

    when i try and use Clickaccept i keep getting a error saying unknown identifier.. i have the latest version of SRL and i have included it... i also tried re-installing SRL but it still isnt working!!

    maybe im just be very stupid, or maybe im not but i still need help :P

    thanks

  2. #2
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    do you have a {.include SRL/SRL.scar} under the program name? and in the main loop (before a repeat) do you have SetupSRL; ? just check those things, I bet thats it.

  3. #3
    Join Date
    Jul 2006
    Posts
    189
    Mentioned
    1 Post(s)
    Quoted
    19 Post(s)

    Default

    yes i have done all that, any ideas?

    SCAR Code:
    program New;
    {.include srl/srl.scar}

    const
      Startplayer = 0;
      NumberOfUsers = 1;
     
    Procedure DeclarePlayers;

    Begin
         HowManyPlayers := NumberOfUsers;
         NumberOfPlayers( HowManyPlayers );
         CurrentPlayer := StartPlayer;

         Players[0].Name :='Username';
         Players[0].Pass :='Password';
         Players[0].Nick :='ern';
         Players[0].Active:=True;

         Writeln( IntToStr ( HowManyPlayers ) + ' Players' );
    End;


    begin
      Clickaccept;
    end.

    begin
      SetupSRL;
    repeat
      DeclarePlayers;
      LoginPlayer;
      Clickaccept;
    wait(1000);
    Logout;
    end.

    p.s
    there may be some mistakes but i just quickly did this to show you.

    all help would be great

  4. #4
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    sorry dude, not sure how to help you then. your sure you have the latest version of SRL?

  5. #5
    Join Date
    Jul 2006
    Posts
    189
    Mentioned
    1 Post(s)
    Quoted
    19 Post(s)

    Default

    yes i re-installed the latest SRL about a hour ago just to make sure.

    EDIT: there must be somthing im doing wrong, if not it would work?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Unknown Identifier
    By Torrent of Flame in forum OSR Help
    Replies: 2
    Last Post: 02-24-2008, 10:44 AM
  2. Unknown Identifier.
    By iunseeni in forum OSR Help
    Replies: 2
    Last Post: 11-04-2007, 07:36 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
  •