SRL Archive - Simba (Testing) Scripts

What Am I Doing Wrong?


Diddy Kong

2010-04-17 14:56:29

program new;

{.include/SRL/SRL/Misc/SMART.scar}
{.include/SRL/SRL.scar}

const
SmartWorld = 15;
SmartMembers = False;
SmartSigned = True;
SmartSuperDetail = False;

begin
Smart_Server := SmartWorld;
Smart_Members := SmartMembers;
Smart_Signed := SmartSigned;
Smart_SuperDetail := SmartSuperDetail;
SetupSRL;
end.

[Error] (13:3): Unknown identifier 'Smart_Server' at line 13
Compiling failed.

Nava2

2010-04-17 14:57:51

wat

Diddy Kong

2010-04-17 15:05:34

I just need to know what I am doing wrong?

[Error] (13:3): Unknown identifier 'Smart_Server' at line 13
Compiling failed.

Heysus

2010-04-17 16:26:42

remove the slash in between include and srl.

should be:
{.include SRL/SRL/Misc/SMART.scar}
{.include SRL/SRL.scar}

x[Warrior]x3500

2010-04-19 21:32:15

umm idk if this is right… but since this is Simba shouldnt it be:

{$define SMART}
{$i srl/srl.scar}

i luffs yeww

2010-04-19 21:40:59

You should do that, but it works with {.include..} way, as well.