diff options
author | tomsmeding <hallo@tomsmeding.nl> | 2014-04-24 22:14:39 +0200 |
---|---|---|
committer | tomsmeding <hallo@tomsmeding.nl> | 2014-04-24 22:14:39 +0200 |
commit | c275a149eec2f8641dbce4cdf114ab0dca5216ff (patch) | |
tree | 3b94e96913f1bb1bc72979f82a8677f6e1e34f85 /factorial.trt |
Initial commit
Already did some programming though…
Diffstat (limited to 'factorial.trt')
-rw-r--r-- | factorial.trt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/factorial.trt b/factorial.trt new file mode 100644 index 0000000..f2e628b --- /dev/null +++ b/factorial.trt @@ -0,0 +1,9 @@ +"Factorial for num:" OUT +INP FLT +#loop + DUP + 1 DIF +DUP 1 GRT @loop IFJ +SWP +PI_ +STR OUT
\ No newline at end of file |