Results 1 to 3 of 3

Thread: compiling error please help.

  1. #1
    Join Date
    Jan 2012
    Posts
    470
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default compiling error please help.

    on my private script i got this error

    [Error] (12:1): Identifier expected at line 11
    Compiling failed.


    here is the first part of script line 11 is var. it was working earlier idk i might have messed up when i edited this please help .

    Code:
    program private;
    
    {$DEFINE SMART}
    {$Define CrashSmart}
    {$i SRL/srl.simba}
    {$i sps/sps.simba}
    {$i SRL/SRL/skill/fighting.simba}
    
    Const
    
    Var
    K,Blue,Red,Bdw,Rdw:Integer;
    RLeftC,Dead,RHDead,BHDead,RObelisk,RRightC,LeftC,Obelisk,RightC:Variant;
    
    
    procedure SetupChar;

  2. #2
    Join Date
    Oct 2008
    Location
    C:\Simba\Includes\
    Posts
    7,566
    Mentioned
    19 Post(s)
    Quoted
    180 Post(s)

    Default

    You're calling "Const", but are not declaring anything underneath it.
    Away for awhile, life is keeping me busy. | Want to get my attention in a thread? @Kyle Undefined; me.
    { MSI Phoenix || SRL Stats Sigs || Paste || Scripts || Quotes || Graphics }

    When posting a bug, please post debug! Help us, help you!

    I would love to change the world, but they won't give me the source code. || To be the best, you've got to beat the rest. || Logic never changes, just the syntax.
    If you PM me with a stupid question or one listed in FAQ, or about a script that is not mine, I will NOT respond.


    SRL is a Library of routines made by the SRL community written for the Program Simba. We produce Scripts for the game Runescape.


  3. #3
    Join Date
    Jan 2012
    Posts
    470
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Kyle Undefined View Post
    You're calling "Const", but are not declaring anything underneath it.
    wow i just noticed i guess when it highlighted var i got confused il fix it. i dont remember what i had under const so i just deleted it and the script works, strange i guess it wasn't important.
    Last edited by superbuster4; 04-04-2012 at 06:16 PM.

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
  •