Results 1 to 6 of 6

Thread: colon expected ??

  1. #1
    Join Date
    Jun 2007
    Posts
    37
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    colon expected ??

    my scipt says Line 9 error colon (':') expected how can i fix this?

    sorry i posted under wrong spot

  2. #2
    Join Date
    Sep 2006
    Location
    New Jersey, USA
    Posts
    5,347
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    Maybe you did this:
    ...
    SCAR Code:
    var
      name;
    ...

    If you did, change it to this:

    SCAR Code:
    ...
    var
      name: [variable type] (integer (numbers), boolean (true/false), or string (alphabetical characters))
    ...


    Post the script if you can't get it to work; it's a lot easier to help you if we can see what's wrong
    Interested in C# and Electrical Engineering? This might interest you.

  3. #3
    Join Date
    Jun 2007
    Posts
    37
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    var
    BoredEvery ,RotateEvery ,LeaveScreenEvery

    thats what i have

  4. #4
    Join Date
    Sep 2006
    Location
    New Jersey, USA
    Posts
    5,347
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    Why'd you do that?

    They're not meant to be variables, they're meant to be procedures.

    I suggest you read some beginner tutorials on variables, procedures, and functions
    Interested in C# and Electrical Engineering? This might interest you.

  5. #5
    Join Date
    Jun 2007
    Posts
    37
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i got confused because everytime i use them it says unkown identifier and i was reading jads tut on error and it says if u get unkown identifiers you didnt put them as variables

  6. #6
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Please post where you get the error, show us the script.
    And you posted the topic in the wrong section.
    Ill move it for you.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Colon expected?
    By impiwimpi in forum OSR Help
    Replies: 9
    Last Post: 01-21-2009, 05:06 PM
  2. Colon expected...but where?!
    By Rich in forum OSR Help
    Replies: 3
    Last Post: 05-17-2008, 02:28 PM
  3. Colon expected.
    By skilld u in forum OSR Help
    Replies: 2
    Last Post: 02-24-2008, 11:54 PM
  4. Colon expected...
    By supersayian2224 in forum OSR Help
    Replies: 7
    Last Post: 07-09-2007, 09:37 PM
  5. Colon Expected
    By Hey321 in forum OSR Help
    Replies: 3
    Last Post: 01-28-2007, 01:00 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
  •