I'm not sure I am using ifdefs properly to include support for non-SRL5 for my script.
Head of the script:
Simba Code:program RTanner;
{$DEFINE SMART}
{$IFDEF SRL5}
{$i SRL/SRL.simba}
{$ELSE}
{$i SRL/SRL.scar}
{$ENDIF}
{$I SPS/SPS.simba}
My Setup procedure which sets the angle to the highest it can be:
Simba Code:{$IFDEF SRL5}
SetAngle(SRL_ANGLE_HIGH);
{$ELSE}
SetAngle(True);
{$ENDIF}
Can anyone please check these and make sure I have done them correctly? Thanks in advance, I really appreciate it!








Reply With Quote



