Delete in sQLux

Discussion and advice about emulating the QL on other machines.
Post Reply
User avatar
Sebright
Chuggy Microdrive
Posts: 72
Joined: Fri Feb 07, 2025 9:55 am

Delete in sQLux

Post 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


Try out Finding Evan - a text adventure with graphics for SMSQ/E & QDOS
[Another adventure coming soon: Otis Travels In Space - PM me if you want to try the beta, QDOS only]
User avatar
desin
Over Heated PSU
Posts: 131
Joined: Mon May 10, 2021 10:33 am

Re: Delete in sQLux

Post 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


User avatar
XorA
Site Admin
Posts: 1678
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: Delete in sQLux

Post by XorA »

The online emulator does not have a real fs behind it. Ita more of a tech preview than anything


User avatar
Sebright
Chuggy Microdrive
Posts: 72
Joined: Fri Feb 07, 2025 9:55 am

Re: Delete in sQLux

Post 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


Try out Finding Evan - a text adventure with graphics for SMSQ/E & QDOS
[Another adventure coming soon: Otis Travels In Space - PM me if you want to try the beta, QDOS only]
User avatar
Sebright
Chuggy Microdrive
Posts: 72
Joined: Fri Feb 07, 2025 9:55 am

Re: Delete in sQLux

Post 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


Try out Finding Evan - a text adventure with graphics for SMSQ/E & QDOS
[Another adventure coming soon: Otis Travels In Space - PM me if you want to try the beta, QDOS only]
User avatar
XorA
Site Admin
Posts: 1678
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: Delete in sQLux

Post by XorA »

Hmmmm, a win file should not be locking up on delete. That is odd.



User avatar
ql_freak
Super Gold Card
Posts: 556
Joined: Sun Jan 18, 2015 1:29 am

Re: Delete in sQLux

Post by ql_freak »

Is it really possible to use a *.win file with the forum online emulator?

If yes, how todo that?

Is it then possible to use the Pointer Environment?


http://peter-sulzer.bplaced.net
GERMAN! QL-Download page also available in English: GETLINE$() function, UNIX-like "ls" command, improved DIY-Toolkit function EDLINE$ - All with source. AND a good Python 3 Tutorial (German) for Win/UNIX :-)
User avatar
XorA
Site Admin
Posts: 1678
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: Delete in sQLux

Post by XorA »

Press the Browse button, select .win file, be a winner! (or in theory, its been ages since I tested it)


User avatar
XorA
Site Admin
Posts: 1678
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: Delete in sQLux

Post by XorA »

Screenshot_20250725_222305.png
Seems to work, and PtrEnv works, but its a bit slow on moving the mouse pointer!


User avatar
ql_freak
Super Gold Card
Posts: 556
Joined: Sun Jan 18, 2015 1:29 am

Re: Delete in sQLux

Post by ql_freak »

I'm shocked! This is working like a charm :‑D

I've uploaded my normal WIN-file (Minerva-version!) and LRUNed the boot file. IT WORKED!

It looks differently than on my PC, but that's because of the resolution (on my PC I'm using 1024x768).

p.s.: Wow! Even MicroEMACS is running (NOT in the screenshot)! But I cannot resize it (most probably, because MicroEMACS cannot be made smaller than 512x256).
onlineEmuQLforum.png


http://peter-sulzer.bplaced.net
GERMAN! QL-Download page also available in English: GETLINE$() function, UNIX-like "ls" command, improved DIY-Toolkit function EDLINE$ - All with source. AND a good Python 3 Tutorial (German) for Win/UNIX :-)
Post Reply