Log in

View Full Version : Good idea for Setup SRL



the nerd
01-31-2007, 09:21 PM
Here is an idea that could bee added to srl. A simple boolean var the is set to true when SetupSRL is called, then another procedure that checks if this var is set to True and if not then it warns the user and runs SetupSRL. The second procedure could be added to all procedures and function that need SetupSRL to have run to work.

WT-Fakawi
01-31-2007, 09:24 PM
But where would you set this var? In SetupSetupSRL; ?

Boreas
01-31-2007, 09:31 PM
I haven't had that problem since freddys tut showing how to make be first in main loop automatically.

Yakman
01-31-2007, 09:31 PM
i think he means make a boolean called SRLSetuped

on every procedure/function put

if(not SRLSetuped)then
begin
writeln('SetupSRL; first please');
TerminateScript;
end


however i dont think its a good idea because i think it would increace the compiling time and clutter up SRL just to help a forgetful person who will probably fix it anyway once they see the RunTime error