Results 1 to 3 of 3

Thread: How To Use Functions

  1. #1
    Join Date
    Sep 2007
    Location
    Canada
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default How To Use Functions

    Can someone help I am really new to this and with SRL you have alot of libs can someone explain how to use them in the script ie:

    procedure findbank;
    begin
    Function FindBank(TheBank:'feb')Boolean;
    end;\

    i get an error so I don't know what I am doing can someone help

    Line 35: [Error] (13248:1): Identifier expected in script

  2. #2
    Join Date
    Jun 2006
    Posts
    1,492
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    to use a function, you fill in the "arguments".

    For example, to use the function FindBank, you would do it like this:

    SCAR Code:
    if FindBank('feb') then

    Let me know if there is anyrtihng else you need!

  3. #3
    Join Date
    Sep 2007
    Location
    Canada
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    are there any docs available in order how to use them

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Functions
    By lordsaturn in forum OSR Help
    Replies: 1
    Last Post: 08-13-2007, 10:12 PM
  2. Help with some functions
    By Pinqvin in forum OSR Help
    Replies: 6
    Last Post: 03-06-2007, 01:34 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
  •