Advertisement
Mysoft

Untitled

Apr 7th, 2016
628
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include "crt.bi"
  2.  
  3. dim as string TestA = !"Hello World\r"
  4. dim as integer iNum=33
  5.  
  6. sleep 2000,1
  7. locate 1,1,0
  8.  
  9. var TMR = timer
  10. for CNT as integer = 0 to 2^12  
  11.   print iNum;TestA;
  12. next CNT
  13. TMR = timer-TMR
  14.  
  15. var TMR2 = timer
  16. for CNT as integer = 0 to 2^12  
  17.   print iNum;!"Hello World\r";
  18. next CNT
  19. TMR2 = timer-TMR2
  20.  
  21. var TMR3 = timer
  22. for CNT as integer = 0 to 2^12  
  23.   printf !"%i Hello World\r",iNum
  24. next CNT
  25. TMR3 = timer-TMR3
  26.  
  27.  
  28. print TMR*1000, "from string"
  29. print TMR2*1000, "from zstring"
  30. print TMR3*1000, "printf"
  31.  
  32. sleep
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement