Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using constants not allowed in DATAs
#8
This is unrelated to --strict and --explicit. The statement new is not implemented.
If you need it you can implement it yourself either as a macro
Code:
#define new randomize usr 0
or as a sub.
Simply, I didn't find it useful for a compiled program. Also, new preserves the RAMTOP (it deletes only the memory zone below the CLEAR limit). For a compiled program, like the ones generated with this compiler, the executable should always go above the RAMTOP and set it as low as possible (the region below the RAMTOP will be used for the stack and might overwrite the BASIC region if it grows too much.
---
Boriel
Reply


Messages In This Thread
RE: Using constants not allowed in DATAs - by boriel - 03-18-2025, 10:34 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)