diff options
Diffstat (limited to 'examples')
| -rwxr-xr-x[-rw-r--r--] | examples/fibonacci.ds | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/fibonacci.ds b/examples/fibonacci.ds index b71b23c..39d70da 100644..100755 --- a/examples/fibonacci.ds +++ b/examples/fibonacci.ds @@ -1,10 +1,12 @@ +#!/bin/ducky LET a = 0 LET b = 1 LET count = 0 LBL loop LET c = a+b LOGVAR a +NEWLINE LET a = b LET b = c -INC count IF count < 20; GOTO loop +INC count IF count < 1000; GOTO loop EXIT |