Is there no EDIT command in SBASIC which allows (as on an original QL) to edit a line in channel #0 of the SuperBASIC Interpreter.
If I enter EDIT or EDIT linenumber, the TK2-Screen-Editor is started.
How can I edit a line in channel #0, so that I can make a command from a S(uper)BASIC line?
I have a command in my boot file (open#3,'CON_512x256a50x308') to edit my boot file in a large window. But when my boot file fails, this statement will not be executed. On a normal QL I would use EDIT line_number_of_the_open_statement and then (the statement is editable in channel#0 of SuperBASIC) delete the line number and can execute it as a command.
I found no way, to do this in SMSQ on QPC2.
EDIT:
I have found the trick:
EDIT line_number
then press F10
and afterwards ESC to leave the TK2-Screen Editor
The line is stuffed into the Hotkey Stuffer buffer without the line number ;-))) and you simply can press the normal:
ALT+SPACE
to stuff it into channel#0 :-)
Solved: QPC2/SMSQ: Isn'nt there no more EDIT command?
Solved: QPC2/SMSQ: Isn'nt there no more EDIT command?
Last edited by ql_freak on Tue Nov 22, 2016 12:42 am, edited 1 time in total.
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
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

- mk79
- QL Wafer Drive
- Posts: 1349
- Joined: Sun Feb 02, 2014 10:54 am
- Location: Esslingen/Germany
- Contact:
Re: QPC2/SMSQ: Isn'nt there no more EDIT command?
F10 within the ED editor copies the current line into the hotkey buffer. You can then paste it into #0 by using Alt+Enter.
Re: Solved: QPC2/SMSQ: Isn'nt there no more EDIT command?
Hello mk97,
I was too late ;-) But thank you.
Really a great forum!
I was too late ;-) But thank you.
Really a great forum!
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
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

-
- RWAP Master
- Posts: 2890
- Joined: Sun Nov 28, 2010 4:51 pm
- Location: Stone, United Kingdom
- Contact:
Re: Solved: QPC2/SMSQ: Isn'nt there no more EDIT command?
There are plenty of useful hints and tips on the ED command in the SBASIC/SuperBASIC Reference Manual
Rich Mellor
RWAP Software
RWAP Adventures
SellMyRetro
Retro-Printer Module - add a USB printer to your QL
Also Involved in:
Icephorm
RWAP Software
RWAP Adventures
SellMyRetro
Retro-Printer Module - add a USB printer to your QL
Also Involved in:
Icephorm