Guest User

SynthLabg

a guest
Mar 30th, 2012
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1.  
  2. const Constant1=123
  3.  
  4. type TestStruct as struct
  5. Value1 as integer
  6. Value2 as float
  7. Value3 as pointer to integer
  8. Value4 as pointer to void
  9. Value5 as array[10] of integer
  10. end
  11.  
  12. TestStructAlias as TestStruct
  13.  
  14. function test(Parameter0 as pointer to TestStruct,Parameter1 as float,Parameter2 as integer) as integer
  15. var a as integer
  16. b as TestStructAlias
  17. code
  18. a = 1 + Parameter2
  19. b.Value2 = 2.0
  20. b.Value3++ = @a
  21. b.Value3 = @a
  22.  
  23. if a == b.Value3^ then
  24. a++
  25. end else if a > 0 then
  26. end
  27.  
  28. while a > 0 do
  29. a--
  30. end
  31.  
  32. repeat
  33. a++
  34. until a > 4
  35.  
  36. select a
  37. case 5
  38. end
  39. case else
  40. end
  41. end
  42.  
  43. end
  44.  
  45. procedure test2
  46. code
  47. end
Advertisement
Add Comment
Please, Sign In to add comment