Walter Meester
HoogkarspelPays-Bas
George,
I totally agree and apply the same rules, Except;
>2. The exit from any procedure/function/method always occurs at the last line of the procedure/function/method.
In somecases I exit the proc when it contributes better readability. If in some cirsumstance it is needed to discontinue the proc before any other functional code in the proc (thus in the beginning of the proc). For example a Deleterecord event on a form:
IF userHasNoDeletePermission()
RETURN False
ENDIF
...
...
Other code to delete the record
Regarding the naming conventions, I did clearly state I've got my doubts (and i still doubt).
Walter,
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement