Results 1 to 4 of 4

Thread: More options

  1. #1
    Join Date
    Mar 2008
    Location
    Look behind you.
    Posts
    795
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    More options

    well, i'm working on a chopper and i want to know how to add more options. I added "tree: 'normal'" in const and

    i've also added this:

    Procedure TreeLoops;
    begin
    case Tree of
    'normal': ChopNormal;
    end;

    and it says - identifier expected, tell me what i did wrong and how to fix it.

  2. #2
    Join Date
    Dec 2007
    Posts
    2,766
    Mentioned
    2 Post(s)
    Quoted
    37 Post(s)

    Default

    There's an end missing, case... is like a begin, it needs an end; at the end of the cases.

  3. #3
    Join Date
    Mar 2007
    Posts
    3,042
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

    Default

    That still won't work, Dr D. Dervish. I think the problem is in how you declared the constant at the top. Constants need an equals sign, not a colon. Like this:

    SCAR Code:
    const
      Tree = 'normal';
    :-)

  4. #4
    Join Date
    Mar 2008
    Location
    Look behind you.
    Posts
    795
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Thanks guys! It works now, Rep++ to both of you

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Options
    By davidwang in forum RuneScape News and General
    Replies: 6
    Last Post: 11-28-2008, 04:02 PM
  2. Options, Options, Options?
    By King of the Nites in forum OSR Help
    Replies: 8
    Last Post: 10-07-2008, 12:24 AM
  3. Graphics Options
    By Lee Lok Hin in forum RS has been updated.
    Replies: 1
    Last Post: 09-18-2008, 10:56 AM

Posting Permissions

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