Indent Free-RPG program
Cette page
a été mise à jour le
14 septembre 2009
. Contact |
Attention : identified bug on indenting SQLRPGLE which sql field name in mixed case. They are lowered.
Versionning :
last version : The SaveFiles
PDM option : IN = INDENT LIBRARY(&L) FILE(&F) MEMBER(&N) TYPE(&S) ERASE5(*NO) CASECONV(*CAMELCASE *DEFN *CAMELCASE) COLORCOM('1') CLEAR5(*NO)
Cet outil permet de
numéroter les boucles RPG. Un de plus. Celui-ci a une
fantaisie supplémentaire : il indente les boucles en code
Free-RPG de 3 caractères, ce qui en améliore
fortement la lisibilité : voir le code du programme
Liste des fonctions sur le code Free-RPG :
Pour empecher INDENTLE de toucher du code SQL, ajouter le commentaire "no sql indent" sur la ligne exec sql : exemple : exec sql // no sql indent |
This tool permits to number the RPG
loops. One more. This one has a supplementary fantasy: it indents
the
loops in Free-RPG code of 3 characters, what improves the
readability
strongly. Look at the code of the program
List of the functions on the Free-RPG code:
To stop INDENTLE from touching the SQL code, add the comment" no sql indent " on the exec sql line: example: exec sql / / no sql indent |
|