Page 2 of 2

Re: The recent thing

Posted: Thu Jul 20, 2023 9:57 am
by XorA
I have to reformat all the text files for each keywords, as the Online System, does funny things to the ASCII test, like \_ for _ and does not like $ or %
That is a task that is just begging to be scripted, then it could be automated every time there is a git commit!

Re: The recent thing

Posted: Thu Jul 20, 2023 12:03 pm
by Derek_Stewart
Hi,

Yes I had considered that and was writing a BASH script, to use SED which turns out be quite easy.

Chnage \_ to _ : sed -i 's/\\_/\_/g' ./BASIC/*

Which replaced the \_ to _ in all files.

Removed the top 2 lines with: sed -i '1,2d;$d' ./BASIC/*

I have now completed all the changes, except the changing of keyword references to upper case. I may have to do that by hand.

Re: The recent thing

Posted: Thu Jul 20, 2023 2:24 pm
by NormanDunbar
Derek_Stewart wrote: Thu Jul 20, 2023 9:20 am This reminds me of my little project to transfer the Online Superbasic manual to QD Help system, or QHELP.

I have to reformat all the text files for each keywords, as the Online System, does funny things to the ASCII test, like \_ for _ and does not like $ or %

I am up to D at present...
Hi Derek,

does the attached zip file help in any way? I have taken the current source files for the Online Manual and processed them to create text versions. This will get rid of "\_" which is needed to escape "_" as "_" is a control character in ReStructuredText source files.

OnlineSuperBASICManual.text.files.zip
(1 MiB) Downloaded 58 times

Cheers,
Norm.

Re: The recent thing

Posted: Thu Jul 20, 2023 3:45 pm
by Derek_Stewart
Hi Norman,

Thanks for update, but completed the changes, including removsl of the ASCII artwork.

I loaded the files into the Help directory and loaded a SBASIC program into QD, pressing F1 on the SBASIC keyword displayed the descrption of the keyword and syntax, as detailed in the online manual.

I have already done DBAS, QPTR so it is quite complete.

I could never remember the syntax for DBAS commands, now it is easy...

Re: The recent thing

Posted: Thu Jul 20, 2023 4:05 pm
by NormanDunbar
Ok Derek, no worries.

Cheers,
Norm.