tycox94 Posted September 13, 2011 Share Posted September 13, 2011 Is this possible? If so how? I'm trying to loop an if statement but its getting really messy. Quote Link to comment Share on other sites More sharing options...
Wanted Posted September 13, 2011 Share Posted September 13, 2011 [sCAR]while (Condition) do begin WriteLn('Hello world!'); end;[/sCAR] [sCAR]repeat WriteLn('Hello world'!); until (Condition);[/sCAR] Quote Link to comment Share on other sites More sharing options...
tycox94 Posted September 13, 2011 Author Share Posted September 13, 2011 Thank you! Thank you! Thank you! Quote Link to comment Share on other sites More sharing options...
Wanted Posted September 13, 2011 Share Posted September 13, 2011 there's also [sCAR]for I := 0 to 24 do begin end;[/sCAR] [sCAR]for I := 24 downto 0 do begin end;[/sCAR] [sCAR]function SameName: Boolean; begin SameName; end;[/sCAR] [sCAR] function LabelExample; label SomeLabel; begin SomeStuff; SomeLabel: SomeMoreStuff goto SomeLabel; end;[/sCAR] Quote Link to comment Share on other sites More sharing options...