SRL Archive - OSR Help

compiling failed


Hadley

2012-05-10 19:22:58

I'm currently following griff's 'script down your first tree' tutorial and i keep getting a compiling error at 'Players[0].Name :=";'. I'm not copy/pasting his text because id rather type and memorize it myself.

program new;
{$i srl/srl.simba}

Procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;

Players[0].Name :=";
Players[0].Pass :=";
Players[0].Nick :=";
Players[0].Active:=True;
end;



begin
SetUpSRL;
ActivateClient;
DeclarePlayers;
LoginPlayer;
end.

Hadley

2012-05-10 19:34:04

alright so problem was I was using quotation marks instead of apostrophe's.. slaps forehead