Page 1 of 1
Editing text files in a way QL can read them?
Posted: Fri Feb 23, 2024 12:04 am
by Mike K
Is it possible to use a text editor such as notepad++ do all the editing and save it in a format that the QL can read it straight away.
I have tried a few methods I can get the QL to read it but each line comes up with mistake on etc.
this would help me in re editing some of my old QL files merging a couple together etc.
regards Mike K
Re: Editing text files in a way QL can read them?
Posted: Fri Feb 23, 2024 12:31 am
by Andrew
Mike K wrote: Fri Feb 23, 2024 12:04 am
I have tried a few methods I can get the QL to read it but each line comes up with mistake on etc.
I use Notepad++ and added QLSuperbasic as User Defined Language.
QL uses only LF at end of the line, not CR+LF, so you have to set Notepad++ to Unix (LF), not Windows or Macintosh. (from the status bar)
I have uploaded the zip with QL Superbasic that can be added as User Defined Language.
Re: Editing text files in a way QL can read them?
Posted: Fri Feb 23, 2024 7:37 pm
by Mike K
Thanks very much it works well, I can now sort out some of my old QL programs and update them
Re: Editing text files in a way QL can read them?
Posted: Fri Feb 23, 2024 9:21 pm
by qbits
Hi
I to use Notpad for sorting out old SuperBASIC Files that have become a bit worse for wear
or I dowloaded and opd them from a pdf scan.
i save as plain text documents (I think the encoding is UTF-8) load them into a QL Directory Select them with QBITS FTidy and rename them which Saves them in renewed QL Format.
QBits