Results 1 to 3 of 3

Thread: Having a little trouble....

  1. #1
    Join Date
    Nov 2007
    Location
    USA midwest
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Having a little trouble....

    Hi, I am new to scripting and just started learning.
    I have many of the tutorials in the beginners section they are great.
    I have a question about an error, wonder if it's ok.
    I type this into my script.


    program NewScript;
    {.include SRL\SRL.scar}
    begin
    setupSRL;
    end.

    But I also get this message

    Line 1522 Variable ' ' never used in script " c:\programs files\scar 3.12 .....


    After it ask me if I can allow this script to get some file I say yes then it says SRL Compiled and Successfully executed.

    Just wondering if I installed it correctly, thanks.

  2. #2
    Join Date
    Jul 2007
    Location
    Norway.
    Posts
    1,938
    Mentioned
    3 Post(s)
    Quoted
    0 Post(s)

    Default

    Looks ok, next time, use [SCAR] tags, and the variable hint is no big deal, read some more tuts and you'll understand it. From what I know, you installed it correctly.

  3. #3
    Join Date
    Nov 2007
    Location
    USA, Michigan
    Posts
    34
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default



    all it means is that you have a

    var
    x,y,notused: integer;

    and you use x and y, but notused is never used.

    var
    x,y,c,s,t: integer;

    and you never use c in your program... ok?
    everything will run, but it's not good programming is all...that's why the hint.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Always trouble
    By BlueDraGoN777 in forum OSR Help
    Replies: 3
    Last Post: 01-08-2008, 07:19 PM
  2. trouble
    By RS Rebel in forum OSR Help
    Replies: 6
    Last Post: 07-27-2007, 09:11 AM
  3. trouble with srl
    By wesleyar in forum OSR Help
    Replies: 4
    Last Post: 06-02-2007, 04:28 AM
  4. having a bit of trouble
    By XcanadamanX in forum OSR Help
    Replies: 14
    Last Post: 01-30-2007, 10: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
  •