Delete in sQLux
Posted: Sun Jun 01, 2025 9:54 am
Hi there,
I noticed an issue, maybe it's just me, but if I try to delete a file that doesn't exist in sQLux (I'm using the emulator on the forum), then it just hangs up.
Delete with nothing behind it gets you "bad parameter".
Delete with anything other than a valid file name gives the hang behaviour, even with QLiberator error trapping. The upshot of this is that all the text adventures that I have written hang up when you go to save your position, which I imagine would be infuriating. I'm sure my name must have been cursed a few times by now, as I've only just discovered this!
I can cure this by using TK2's SBYTES_O rather than DELETE (with error trapping) followed by SBYTES, but it will take a wee while to fix all the ones I still have source code for, then recompile and zip and upload them.
Any thoughts? Anyone else seen this?
Cheers,
Alan
I noticed an issue, maybe it's just me, but if I try to delete a file that doesn't exist in sQLux (I'm using the emulator on the forum), then it just hangs up.
Delete with nothing behind it gets you "bad parameter".
Delete with anything other than a valid file name gives the hang behaviour, even with QLiberator error trapping. The upshot of this is that all the text adventures that I have written hang up when you go to save your position, which I imagine would be infuriating. I'm sure my name must have been cursed a few times by now, as I've only just discovered this!
I can cure this by using TK2's SBYTES_O rather than DELETE (with error trapping) followed by SBYTES, but it will take a wee while to fix all the ones I still have source code for, then recompile and zip and upload them.
Any thoughts? Anyone else seen this?
Cheers,
Alan