Log in

View Full Version : SRLlog.scar : THEFILE never used



anonymity
03-10-2011, 08:24 PM
I keep getting this message.


[Hint] C:\Simba\Includes\SRL/SRL/core/SRLlog.scar(17:3): Variable 'THEFILE' never used at line 16

That points to:
{ var TheFile: Integer;
Description: Use to log chat to file. See SaveToChatLog. }
var
TheFile: Integer;

Nothing big, just annoying.

Train
03-10-2011, 08:26 PM
SRL log was disabled.
If you want to use it
{$DEFINE YourMom}

Yet, the variable is annoying. :p

blackfire553
06-12-2011, 05:57 AM
gravedigging, but i have this problem now too

KingKong
06-12-2011, 06:45 AM
Its not actually a problem, it just says THEFILE is never used, nothing to be worried about. Your scripts should work as normal

Shuttleu
06-12-2011, 07:34 AM
gravedigging, but i have this problem now too

like above, its not a problem and doesnt effect your script, but if you want to get rid of it

open up C:\Simba\Includes\SRL/SRL/core/SRLlog.scar and delete lines 13 to 16

~shut

Markus
06-12-2011, 07:38 AM
Or just add defines on/around the variable.

anonymity
06-12-2011, 10:13 PM
I just commented the files out. That was easier.. that way I also don't forget that they are there.

Good idea Markus.

lol, I forgot completely about this thread..

Dgby714
06-12-2011, 10:17 PM
Or just add defines on/around the variable.

Someone should just commit this ^