diff options
Diffstat (limited to 'logo-code/logo-tests/test-10-variables.txt')
-rw-r--r-- | logo-code/logo-tests/test-10-variables.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/logo-code/logo-tests/test-10-variables.txt b/logo-code/logo-tests/test-10-variables.txt new file mode 100644 index 0000000..32bb865 --- /dev/null +++ b/logo-code/logo-tests/test-10-variables.txt @@ -0,0 +1,10 @@ +to testVariables + make “count 0 + forever [ + if sensor1 < 500 [ + make “count :count + 1 + repeat :count [beep wait 5 ] + waituntil [sensor1 > 499] + ] + ] +end |