Skip to content

Instantly share code, notes, and snippets.

Created August 18, 2011 20:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/1155132 to your computer and use it in GitHub Desktop.
Save anonymous/1155132 to your computer and use it in GitHub Desktop.
.sub 'main'
$P0 = newclass ['XYZ']
$P1 = new ['XYZ']
$I0 = 0
loop:
unless $P1 goto done
inc $I0
$I1 = $I0 % 100000
if $I1 != 0 goto loop
say $I0
goto loop
done:
.end
.namespace ['XYZ']
.sub 'get_bool' :vtable
$P0 = box 1
$I0 = $P0
.return ($I0)
.end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment