Page 1 of 1

Delete in sQLux

Posted: Sun Jun 01, 2025 9:54 am
by Sebright
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

Re: Delete in sQLux

Posted: Sun Jun 01, 2025 10:25 am
by desin
the online sQLux is still v1.0.6
the release is v1.1.1

have you tried the release version ?

Hope it helps
Markus

Re: Delete in sQLux

Posted: Sun Jun 01, 2025 10:29 am
by XorA
The online emulator does not have a real fs behind it. Ita more of a tech preview than anything

Re: Delete in sQLux

Posted: Sun Jun 01, 2025 10:49 am
by Sebright
desin wrote: Sun Jun 01, 2025 10:25 am the online sQLux is still v1.0.6
the release is v1.1.1

have you tried the release version ?

Hope it helps
Markus
No I haven't, Markus, it all looks a bit complicated. I prefer an oven-ready download :)
XorA wrote: Sun Jun 01, 2025 10:29 am The online emulator does not have a real fs behind it. Ita more of a tech preview than anything
It's pretty amazing even so. I am currently trying to get family members to beta test stuff for me, and this is a great way of doing it for people who have never used a QL before. Just give them the web address and email them a .win file. No need to install emulators.

Cheers,
Alan

Re: Delete in sQLux

Posted: Sun Jun 01, 2025 1:26 pm
by Sebright
desin wrote: Sun Jun 01, 2025 10:25 am the online sQLux is still v1.0.6
the release is v1.1.1

have you tried the release version ?

Hope it helps
Markus
Thanks to Markus, I have now tried v1.1.1 and there are no problems with the delete operation. :D

Cheers,
Alan

Re: Delete in sQLux

Posted: Sun Jun 01, 2025 1:34 pm
by XorA
Hmmmm, a win file should not be locking up on delete. That is odd.