Log in

View Full Version : How To Use Functions



deathmas
09-12-2007, 02:02 AM
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

Infantry001
09-12-2007, 02:05 AM
to use a function, you fill in the "arguments".

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

if FindBank('feb') then

Let me know if there is anyrtihng else you need!

deathmas
09-12-2007, 06:15 AM
are there any docs available in order how to use them :(