diff options
Diffstat (limited to 'awk/rawk/scratch/debug_test.rawk')
-rw-r--r-- | awk/rawk/scratch/debug_test.rawk | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/awk/rawk/scratch/debug_test.rawk b/awk/rawk/scratch/debug_test.rawk new file mode 100644 index 0000000..5a0d4b2 --- /dev/null +++ b/awk/rawk/scratch/debug_test.rawk @@ -0,0 +1,16 @@ +BEGIN { + print "=== Debug Test ===" +} + +RAWK { + $test_func = (x) -> { + return x * 2; + }; +} + +{ + result = test_func(5); + print "Result:", result; + print "Test completed"; + exit 0; +} \ No newline at end of file |