Advertisement
mixster

Tootoot222

Oct 19th, 2009
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. program Standards;
  2.  
  3. var
  4. SomeVar, SomeOtherVar: Integer;
  5. SomeVarOfAnotherType: String;
  6.  
  7. const
  8. ThisIsSpacedProperly = 'wat';
  9.  
  10. procedure SomeProcedure(var Param1, Param2: Integer; Param3: String);
  11. var
  12. SomeLocalVar: Integer;
  13. SomeOtherLocalVar: String;
  14. begin
  15. DoSomething(Param1, Param2);
  16. DoNothing();
  17. SomeVar:= SomeVar + 1;
  18. SomeLocalVar:= SomeVar * 2;
  19. end;
  20.  
  21. function SomeFunction(Param1, Param2: Integer): Boolean;
  22. begin
  23. if(Param1 = Param2) then
  24. Result:= True
  25. else
  26. Result:= False;
  27. end;
  28.  
  29. var
  30. I: Integer;
  31.  
  32. begin
  33. while(SomeFunction(SomeVar, SomeOtherVar)) do
  34. begin
  35. SomeProcedure(SomeVar, SomeOtherVar, 'wat');
  36. for I:= 0 to 10 do
  37. Wait(100);
  38. end;
  39. end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement