Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Printing to printer - Linux - LPRINT alternative?
#19
(05-28-2023, 01:33 PM)bplus Wrote:
(05-28-2023, 05:01 AM)desA Wrote: @mnrvovrfc
"I thought you knew more about BASIC programming..."

I'm converting very old code, with its philosophy basis pretty much FORTRAN F77 in structure (I'm an engineer). It is around 75% complex equations - the rest being data input, display and data output (display. printing). Around 2800 lines of code, thus far - more to come.

Learning new things as I go along. Coding philosophy has definitely changed over the years as newer languages have emerged.

I'm learning from giants...  Smile

The software is used to design modular S&T HX
Modular S&T HX

If the stuff is so old that you have GoSubs or worse all GoTo's as opposed to genuine modular subs and functions, I would say it is well worth your time to convert the code to more portable (copy and paste) Subs and Functions so you could build a Toolbox and not have reinvent the wheel (or at least retype it) for each new app. I don't know, has FORTRAN come as far as QB64pe in modernization? maybe, but as easy to use?

Yes - the code is THAT ancient - full of line #s, gosubs and gotos.

I have systematically inserted modern labels, select case. to make the flow a bit more logical. A planned later development is to create headless subroutines that can receive file input / output. Thereafter to develop a more modern GUI.

Coding practice has come a long way since those early days.  Smile
Reply


Messages In This Thread
RE: Printing to printer - Linux - LPRINT alternative? - by desA - 05-29-2023, 02:04 AM



Users browsing this thread: 6 Guest(s)