Advertisement
Guest User

Untitled

a guest
Sep 24th, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
QBasic 0.55 KB | None | 0 0
  1. set position = args[0]
  2. set $cockroach_symb = <font color=' + $args[2] + ' size=20>' + $args[1] + '</font>'
  3. set $cockroach_way =   '<font color=' + $args[2] + ' size=20>[</font>'
  4. set i = 0
  5. :LOOP
  6.     IF position = i OR (i = 50 AND position > 50):
  7.         $cockroach_way = $cockroach_way + $cockroach_symb
  8.     ELSE
  9.         $cockroach_way = $cockroach_way + '<font color=' + $args[2] + ' size=20>.</font>'
  10.     END
  11.     set i = i + 1
  12. IF i < 51: jump 'loop'
  13.  
  14. $cockroach_way = $cockroach_way + '<font color=' + $args[2] + ' size=20>]</font>'
  15. *pl "<center><<$cockroach_way>></center>"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement