SRL Archive - Help

Compiling Error


dipparn

2012-02-20 17:53:03

Writeln(IntToStr(Round(ChinsCaught * Chin_XP)) + ' xp gained (' + IntToStr(Round((ChinsCaught * Chin_XP) div (RunTime div 1000.0 div 60.0 div 60.0))) + ' xp/hr)');


"Unknown identifier 'Chin_XP' at line 115"


What is wrong? Help me someone please.

Ashaman88

2012-02-20 18:03:03

Chin_XP needs to be declared first

Var
Chin_XP : Integer;

something like that

dipparn

2012-02-21 05:26:07

Thanks for the help :)

Fruitboy

2012-03-01 08:37:38

Nvm was rly easy to fix