Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Print source code from the IDE
#9
Welcome to the forums.

I wish there was another program, which is not a &%$*#@ing web browser that could display HTML documents formatted properly. It's because no web browser loads fast, and tolerable enough to use it offline like the first few versions of Internet Explorer and Firefox.

This way could work for documents greater than 1MB. But source code seldom gets that big, definitely not C++ or Python or any other OOP. I proposed advice that was given away for free for many years in the QB64 Wiki, which doesn't apply to those on Unix-like operating systems that cannot have Wine.

Hmmm... doesn't Visual Studio IDE have an option to run a program EXE file with command-line arguments? Then QB64(PE) could be used to write a program that does the printing, after it's passed an ordinary text file. Just use "LPRINT" and watch out for CHR$(34) put literally in the code.

EDIT: It requires the code to be saved as ordinary text file. Now I don't remember but I read somewhere that things could get as perverse as binary signatures and stuff like that being part of a function header! Don't want to anger somebody about what it looks like his/her favorite tool...
Reply


Messages In This Thread
Print source code from the IDE - by Kernelpanic - 11-26-2022, 10:45 PM
RE: Print source code from the IDE - by mnrvovrfc - 11-26-2022, 11:51 PM
RE: Print source code from the IDE - by Dimster - 11-27-2022, 02:40 PM
RE: Print source code from the IDE - by bplus - 11-27-2022, 03:42 PM
RE: Print source code from the IDE - by mnrvovrfc - 11-27-2022, 07:05 PM
RE: Print source code from the IDE - by bplus - 11-27-2022, 06:17 PM
RE: Print source code from the IDE - by mnrvovrfc - 12-10-2022, 07:47 AM
RE: Print source code from the IDE - by Dimster - 12-10-2022, 07:00 PM
RE: Print source code from the IDE - by SMcNeill - 12-10-2022, 08:33 PM
RE: Print source code from the IDE - by bert22306 - 12-10-2022, 09:08 PM
RE: Print source code from the IDE - by Pete - 12-11-2022, 10:27 PM
RE: Print source code from the IDE - by bplus - 12-12-2022, 03:46 AM
RE: Print source code from the IDE - by mnrvovrfc - 12-12-2022, 08:50 AM
RE: Print source code from the IDE - by SMcNeill - 12-12-2022, 09:43 AM
RE: Print source code from the IDE - by Pete - 12-12-2022, 03:44 PM



Users browsing this thread: 2 Guest(s)