Page 1 of 1

A small utility (indent prg)

Posted: Thu Aug 19, 2021 3:13 pm
by brunellopulix
Hi,

is a small utility that I use in my programs.
It is not as sophisticated and complete as the
others but it is useful to me. You can change
it and still do what you want with it.

Usage:

cString := MyIndent('Test.Prg')
FRename('Test.Prg','Test.Bak')
hb_MemoWrit('Test.Prg',cString)
execute file ('Test.Prg') or msginfo('ok')

Brunello
XIndent.zip
(1.94 KiB) Downloaded 131 times

Re: A small utility (indent prg)

Posted: Thu Aug 19, 2021 3:15 pm
by brunellopulix
Usage:

cString := XIndent('Test.Prg') (not myindent)
FRename('Test.Prg','Test.Bak')
hb_MemoWrit('Test.Prg',cString)
execute file ('Test.Prg') or msginfo('ok')

Brunello

Re: A small utility (indent prg)

Posted: Fri Aug 20, 2021 10:31 am
by brunellopulix
XIndent.zip
(2.05 KiB) Downloaded 178 times
a small update for better error handling

Brunello

Re: A small utility (indent prg)

Posted: Fri Aug 20, 2021 7:54 pm
by ASESORMIX
Muchas Gracias por compartir.

Re: A small utility (indent prg)

Posted: Sun Aug 22, 2021 1:45 am
by luisvasquezcl
Gracias por compartir.
Saludos

Re: A small utility (indent prg)

Posted: Tue Jun 21, 2022 12:27 pm
by fabiantoro
Buenos Dias
Alguien tiene la utilidad compilada (.exe)
Gracias

Re: A small utility (indent prg)

Posted: Tue Jun 21, 2022 11:05 pm
by AUGE_OHR