diff options
Diffstat (limited to 'js/scripting-lang/scratch_tests/test_and_negative_fixed.txt')
-rw-r--r-- | js/scripting-lang/scratch_tests/test_and_negative_fixed.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/js/scripting-lang/scratch_tests/test_and_negative_fixed.txt b/js/scripting-lang/scratch_tests/test_and_negative_fixed.txt new file mode 100644 index 0000000..f10bd9b --- /dev/null +++ b/js/scripting-lang/scratch_tests/test_and_negative_fixed.txt @@ -0,0 +1,14 @@ +/* Test and operator with negative numbers - fixed syntax */ + +/* Test with proper parentheses */ +result1 : ((-5) >= 0) and ((-5) <= 120); + +/* Test step by step */ +step1 : (-5) >= 0; +step2 : (-5) <= 120; +result2 : step1 and step2; + +..out result1; +..out step1; +..out step2; +..out result2; \ No newline at end of file |