Pushok

my lang test

Nov 29th, 2012
362
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. function Pow(a, b)
  2. for i = 1 to i <= b step i = i + 1 do
  3. a = a * a;
  4. end
  5.  
  6. return a;
  7. end
  8.  
  9. for i = 1 to i <= 10 step i = i + 1 do
  10. Print( Pow(i, 5) );
  11.  
  12. if i == 8 then
  13. break;
  14. end
  15. end
Advertisement
Add Comment
Please, Sign In to add comment