formater za hmg programs
Moderator: Rathinagiri
- dragancesu
- Posts: 921
- Joined: Mon Jun 24, 2013 11:53 am
- DBs Used: DBF, MySQL, Oracle
- Location: Subotica, Serbia
formater za hmg programs
Harbour is good but is more evolved and now the HMG
Unfortunately HMG does not follow everything that was going along the harbour
One of those things is a formatter code, useful thing that I miss
With clipper I used SNAP application for arranging and documentation purposes of the program
Later I was make something like it, a common mistake is to forget to close the loop so I detected
Then came the HMG and many commands DEFINE ... with which I am not spectacular but now I do not have time to fix
Are someone made a program as HBFormat for HMG programs?
Unfortunately HMG does not follow everything that was going along the harbour
One of those things is a formatter code, useful thing that I miss
With clipper I used SNAP application for arranging and documentation purposes of the program
Later I was make something like it, a common mistake is to forget to close the loop so I detected
Then came the HMG and many commands DEFINE ... with which I am not spectacular but now I do not have time to fix
Are someone made a program as HBFormat for HMG programs?
- serge_girard
- Posts: 3169
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: formater za hmg programs
Hi Dragan,
I do it manually.... it takes some discipline!
S
I do it manually.... it takes some discipline!
S
There's nothing you can do that can't be done...
-
- Posts: 190
- Joined: Wed Jan 06, 2010 5:39 pm
Re: formater za hmg programs
Years ago I improved a program from Joe Fannucchi that makes indentation of prg programs.
You wil find attached the source and two language files : english and french.
You wil find attached the source and two language files : english and french.
- Attachments
-
- IndentV19.zip
- IndentV19
- (15.64 KiB) Downloaded 486 times
- serge_girard
- Posts: 3169
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: formater za hmg programs
Merci Chrisjx2002 !
ça marche,
Serge
ça marche,
Serge
There's nothing you can do that can't be done...
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: formater za hmg programs
+1serge_girard wrote:Merci Chrisjx2002 !
ça marche,
Serge
Viva INTERNATIONAL HMG ![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
- dragancesu
- Posts: 921
- Joined: Mon Jun 24, 2013 11:53 am
- DBs Used: DBF, MySQL, Oracle
- Location: Subotica, Serbia
Re: formater za hmg programs
Thank you Chrisjx2002 !
it's very usefull
Dragan
it's very usefull
Dragan
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: formater za hmg programs
Look at Click! in the Oasis : legendary utility by sainted Harbour guru and former Harbour manager Phil Barnet (RIP).
Viva Clipper, viva Harbour, viva HMG![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
Fully documented and configurable.Click! is a CA-Clipper and Xbase++ source code reformatter. This is much more than a simple reindenter, but actually reestablishes spacing between elements in the lines of code and creates function cross reference charts.
Viva Clipper, viva Harbour, viva HMG
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
Viva INTERNATIONAL HMG ![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
Re: formater za hmg programs
I just do some more changes on this program:
1. Add option to indent " With Object / End With " structure
2. Add the comments to IF /FOR /WHILE / WITH
IF AAA
IF BBB
IF CCC
ENDIF //CCC
ENDIF //BBB
ENDIF //AAA
It seems work
... please do a backup 1ST ... if you want to try it ....
1. Add option to indent " With Object / End With " structure
2. Add the comments to IF /FOR /WHILE / WITH
IF AAA
IF BBB
IF CCC
ENDIF //CCC
ENDIF //BBB
ENDIF //AAA
It seems work
![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
- Attachments
-
- indent_20.rar
- (14.44 KiB) Downloaded 358 times
- dragancesu
- Posts: 921
- Joined: Mon Jun 24, 2013 11:53 am
- DBs Used: DBF, MySQL, Oracle
- Location: Subotica, Serbia
Re: formater za hmg programs
This is very good