Copying Program Listings from PDF Documents
Posted: Wed Sep 13, 2017 10:47 am
I have been trying to get a long program listing in a PDF version of QL Today to be able to load into QPC2 and have had partial success. The method I use is to highlight the text that I want in Acrobat Reader then coy it, open Notepad and paste the text into it. I then save it as a text file then rename the file with a _bas file extension. When I load it as a Superbasic program I get error messages complaining about syntax erros etc. Is there a way to format the text before loading into Superbasic such as getting rid of DOS carriage returns and line feeds? The errors seem to occur on long lines of text with REMark statements.