I have seen quite a few scripts that have something like this in it:
procedure Proggy; Forward;
what does that do? i searched through tutorial island but couldnt find anything there.
I have seen quite a few scripts that have something like this in it:
procedure Proggy; Forward;
what does that do? i searched through tutorial island but couldnt find anything there.
it takes a procedure/function and makes it capable to be used earlier in the script then its declared...
SCAR Code:function walktobank:Boolean; forward;
fuction blah: Boolean;
begin
walktobank;
end;
function walktobank: Boolean;
begin
blah;
end;
see walktobank uses blah but blah uses walktobank so one has to come before the other...so you use forward so they can both be used
"Failure is the opportunity to begin again more intelligently" (Henry Ford)
scar would see it as...SCAR Code:program LoL;
procedure LoL; forward;
procedure SayLoL;
begin
LoL;
end;
procedure LoL;
begin
Writeln('LoL');
end;
begin
SayLoL;
end.
SCAR Code:program LoL;
procedure LoL;
begin
Writeln('LoL');
end;
procedure SayLoL;
begin
LoL;
end;
begin
SayLoL;
end.
thanks. now i have another question, how do i get the Script stat in my sig that has the custom variables?
umm... pm The_RS_Monkey
ask him for teh link
http://monkeystats.freehostia.com/sc...g/designer.php
enter in your script id
"Failure is the opportunity to begin again more intelligently" (Henry Ford)
thanks.
There are currently 1 users browsing this thread. (0 members and 1 guests)