SRL Archive - Help

SRL include error


Crit

2012-08-02 02:52:53

Hi All,
since I have update Simba and all the other extensions and plugins this error pops at me everytime i try to compile a script:
[Error] C:\Simba\Includes\SRL/SRL.Simba(6:109): Semicolon (';') expected at line 5
Compiling failed.
This only happens when i try to compile my own scripts not if i take someone elses. Anybody know why and how to fix it?
Thanks
-Crit

Yes i did fill out declare players, just removed it for upload.
BTW here is the script i tried to compile:

blinkblink

2012-08-02 03:06:16

program startup you are missing ";"
program startup;

as well for
procedure DeclarePlayers

Crit

2012-08-02 03:08:58

You don't need that but i saw that i forgot to put a semicolon behing the program.
Thank you

blinkblink

2012-08-02 03:11:22

From: Crit Boy
You don't need that but i saw that i forgot to put a semicolon behing the prgram.
Thank you


Well I see every single script has it on all procedures… so I am just following what they all use in their code
I can bring you many scripts that have… Procedure DeclarePlayers;

http://villavu.com/forum/showthread.php?t=81178
http://villavu.com/forum/showthread.php?t=78912
http://villavu.com/forum/showthread.php?t=69217
http://villavu.com/forum/showthread.php?t=67587
http://villavu.com/forum/showthread.php?t=75070

P1ng

2012-08-02 03:32:16

End all lines with a semi-colon unless followed by another pre-set statement i.e. do, else, then, etc.

May not always be necessary, but it's a really good habit to get into.

Crit

2012-08-02 03:33:16

@BlinkBlink Oh sorry, i read ur post wrong, i thought you said i need the "" tags. Yes you were right that was my mistake. Thank you very much