Results 1 to 3 of 3

Thread: [Error] (8:1): Identifier expected at line 7 Compiling failed

  1. #1
    Join Date
    Mar 2013
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default [Error] (8:1): Identifier expected at line 7 Compiling failed

    Im getting an error after running the test script:


    Program testP07;

    {$I SRL/SRL.Simba}
    {$I P07Include.Simba}

    //LOGIN INFO STUFF
    Procedure P07_DeclarePlayer;
    Begin
    P07_PlayerName:='username';
    P07_PlayerPass:='password';
    End;

    Begin

    P07_DeclarePlayer;
    SetupP07Include;
    ActivateClient;
    Wait(2000);
    If (Not P07_LoggedIn) Then
    P07_LogInPlayer;
    P07_MakeCameraAngleHigh;
    P07_MakeCompassNorth;

    Writeln(P07_GetUpText);

    If P07_BankScreen Then
    WriteLn('Bank is Open');
    If P07_InvFull Then
    WriteLn('Inventory is Full');

    End..


    after i hit run i get [Error] (8:1): Identifier expected at line 7 Compiling failed
    Anyonte know what to do?

  2. #2
    Join Date
    Jan 2012
    Posts
    2,568
    Mentioned
    35 Post(s)
    Quoted
    356 Post(s)

    Default

    You have 2 fullstops after the final end. Just need one.

  3. #3
    Join Date
    Mar 2013
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    It's highlighting this as the problem.

    Procedure P07_DeclarePlayer;

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
  •