I would benefit from a lister program that would document the date and time of the printing as well as handle consistent indentation and bolding of functions and procedures as well as many other things I haven't mentioned or thought of.
Can someone recommend something done in VFP that I can tweak to my preferences?
Thanks in advance,
Joe
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html ---
Joe,
It appears you want this for listing code, correct?
I used to have a number of tools that would do what you want - but I would have to see if I can find them and extract what you want.
For now - the beautifier should correct indentation. This was a build in tool that is actually VFP code you can find.
Not sure what you want in terms of bolding of function calls - do you want the function header in bold or all references to a function in the code being listed to be bold?
If you need to print out class libraries - you can use the code called by VSS that converted VFP Classes into code to be checked into VSS - then formatted that and printed that out.
But it really helps if you give us a little more information on what you are trying to do. Do you really want a tool to print out .prg files? Or something more elaborate?
Fletcher
------ Original Message ------
From "Joe Yoder" joe@wheypower.com
To profoxtech@leafe.com Date 8/28/2024 3:25:50 PM Subject Lister program for VFP code
I would benefit from a lister program that would document the date and time of the printing as well as handle consistent indentation and bolding of functions and procedures as well as many other things I haven't mentioned or thought of.
Can someone recommend something done in VFP that I can tweak to my preferences?
Thanks in advance,
Joe
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html
[excessive quoting removed by server]
Something like this might get you some of the way:
lcHeadings = set("HEADINGS") set headings on type "my_prg_file.prg" to printer auto prompt number set headings &lcHeadings
So that will print out the prg, with a heading containing the filename and date\time, wrap long lines, include line numbers and prompt for the printer.