Hi Alexander,

Some more hbformat experiences:

1) These tokens don't seem to be converted to listed format (at least not always):
   NIL, .F., .T., .NOT., iif(), FOR, NEXT, IF
2) multiple space aren't reduced to one (in 'FOR a := ', or in 'FUNC( "param" )') 3) sometimes spaces aren't added around function call parameters. (in method getcookies())
4) hbformat breaks code in contrib/hbtip/smtpcln.prg
5) CREATE CLASS isn't recognized as CLASS creation command.
   (we use this Class(y) compatible command in Harbour)
6) hbformat does seem to work, but it doesn't, when .bak file already exists.
7) space gets added between var name and '++', so 'n++' becomes 'n ++'.
   (probably also '--')
8) It "loses" indentation inside CLASS declaration.
9) Functions named Print() will be uppercased to PRINT()
10) Array indexes are missed from formatting.

I recommend making a test run on current Harbour hbtip code.

Brgds,
Viktor

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to