02-27-2021, 12:07 PM
I have seen a problem where if you call a function without a RETURN 0 with no return value in FUNCTION declaration e.g.
FUNCTION UFNprintText(printText$ AS STRING )
Sometimes the function will just crash the ZX Spectrum emulator
Adding a RETURN 0 makes it work.
Just thought you might know this?
FUNCTION UFNprintText(printText$ AS STRING )
Sometimes the function will just crash the ZX Spectrum emulator
Adding a RETURN 0 makes it work.
Just thought you might know this?