I am a student in germany and me an my group have to simulate an airport.
We have no idea how to solve the following problem (our basic knowledge is quite poor and asking our prof means getting much minuspoints) :
Vehicles are generated by a source, after leaving the source we want to give them an attribute:
40% should go to AirFrance
60% to Lufthansa
In the custom attributes of the vehicles we sad:
We used a method, but in line 2 it allways said there is a 'Syntaxfehler':
if zahl <0.4 then
We hope that anyone can help us, thanks
You are missing some semicolons from your method.
is zahl: real; do zahl:=z_gleich(5,0,1); if zahl <0.4 then @.LH:=true; else @.LH:=false; end; end;