That should work. The problem might be the HEAP. Perhaps using --heap-size option will help: by default ZX BASIC will use all remaining memory for the HEAP (which is used mostly for string management at this moment).
Try compiling with --heap-size=200 (use only 200 bytes for heap)
More info at https://zxbasic.readthedocs.io/en/docs/z...ne_Options
Try compiling with --heap-size=200 (use only 200 bytes for heap)
More info at https://zxbasic.readthedocs.io/en/docs/z...ne_Options