SRL Archive - OSR Help

Script error "=" expected.


demiraca

2013-03-16 08:05:06

[Error] C:\Users\User\Downloads\************.simba(8:5): is ('=') expected at line 7

x, aInteger, run, invCounter, runIsOn, thaTime, TreeColor3, y, z, logs, level, knife, TreeColor, TreeColors: integer;

is there anything wrong in this, and how do i fix it?, im really stuck =/

i luffs yeww

2013-03-16 08:06:24

You're declaring variables there, but I think the compiler thinks you're trying to declare constants or something. Before the line you posted should be "var."

demiraca

2013-03-16 08:10:36

ok here's my lines 5,6,7 :
const
var
x, aInteger, run, invCounter, runIsOn, thaTime, TreeColor3, y, z, logs, level, knife, TreeColor, TreeColors: integer;

rj

2013-03-16 08:12:24

From: demiraca
ok here's my lines 5,6,7 :


Take out const

demiraca

2013-03-16 08:14:05

hanks RJJ95, now im stuck ont this
Function IsCutting:
var.
PBox: TBox;
Begin


Clues are helpful since i want to learn :)

rj

2013-03-16 08:19:21

From: demiraca
hanks RJJ95, now im stuck ont this

Clues are helpful since i want to learn :)


Well he has posted his script without errors but I'll tell you what you did wrong

Function IsCutting:
var.
PBox: TBox;
Begin

var. needs to just be var

demiraca

2013-03-16 08:23:39

From: RJJ95
Well he has posted his script without errors but I'll tell you what you did wrong

Function IsCutting:
var.
PBox: TBox;
Begin

var. needs to just be var


I know i removed it but i still got same error:

[Error] C:\Users\User\Downloads\CutterShafter[DONE].simba(62:2): Identifier expected at line 61

But its fixed now since i got a free anti-leech copy version, thanks !! learned quite a bit :)