Re: Lister program for VFP code

2024-08-29 Thread Alan Bourke
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 number

Re: Lister program for VFP code

2024-08-28 Thread Fletcher Johnson
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 co