ibrycei
2014-01-09 21:01:59
hey i was just wondering if someone could correct me ive been having this problem trying to work out why it wants a colon?
Im new to scripting ive done abit of scar a couple of years ago everything i wanted to bot worked out fine though.
[Error] C:\Simba\Scripts\lol.simba(6:19): colon (':') expected at line 6
Compiling failed.
program farm;
function find_plot;
begin
end;
procedure clear_plot;
begin
end;
procedure open_inventory;
begin
end;
procedure Place_seed;
begin
end;
procedure close_inventory;
begin
end;
procedure harvest_plot;
begin
end;
begin
if find_plot; then
clear_plot;
open_inventory;
place_seed;
close_inventory;
harvest_plot;
end.
Shouldnt it just run though all the function/procedures and then end?
Im new to scripting ive done abit of scar a couple of years ago everything i wanted to bot worked out fine though.
[Error] C:\Simba\Scripts\lol.simba(6:19): colon (':') expected at line 6
Compiling failed.
program farm;
function find_plot;
begin
end;
procedure clear_plot;
begin
end;
procedure open_inventory;
begin
end;
procedure Place_seed;
begin
end;
procedure close_inventory;
begin
end;
procedure harvest_plot;
begin
end;
begin
if find_plot; then
clear_plot;
open_inventory;
place_seed;
close_inventory;
harvest_plot;
end.
Shouldnt it just run though all the function/procedures and then end?