Hi,
Is there an existing utility to clean up some older code? You know, like identifying unused variables, and maybe re-indenting, that sort of thing?
Regards,
Cleaning up harbour code
Moderator: Rathinagiri
- srvet_claudio
- Posts: 2193
- Joined: Thu Feb 25, 2010 8:43 pm
- Location: Uruguay
- Contact:
Re: Cleaning up harbour code
Hi,
try with:
c:\hmg.3.4.4\build.bat filename.prg -w3 -es2
try with:
c:\hmg.3.4.4\build.bat filename.prg -w3 -es2
- danielmaximiliano
- Posts: 2612
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: Cleaning up harbour code
en tiempo de compilacion generando un log se obtiene las variables sin usar, esto esta descripto aqui https://raw.githubusercontent.com/harbo ... ldnews.txt
puedes buscar en el navegador "Added detection of unused variable assigments"
puedes buscar en el navegador "Added detection of unused variable assigments"
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
-
- Posts: 195
- Joined: Thu Jul 16, 2020 5:42 pm
- DBs Used: DBF
Re: Cleaning up harbour code
Thanks, srvet.
srvet_claudio wrote: ↑Tue Sep 01, 2020 2:36 pm Hi,
try with:
c:\hmg.3.4.4\build.bat filename.prg -w3 -es2