diff options
Diffstat (limited to 'primes.trt')
-rw-r--r-- | primes.trt | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/primes.trt b/primes.trt new file mode 100644 index 0000000..84a0f55 --- /dev/null +++ b/primes.trt @@ -0,0 +1,29 @@ +"Up to which number do you want a list of primes?" OUT +INP INT +"Here you go:" OUT +2 2 +"2" OUT +#MAIN +1 SUM +DUP +2 PLL +DUP +3 PSH +MOD +PI_ +NOT +@NOPRIME IFJ +DUP +2 PSH +1 GRB +1 PLL +DUP +STR +OUT +#NOPRIME +DUP +3 PLL +DUP +4 PSH +SML +@MAIN IFJ
\ No newline at end of file |