8 Jan
2015
8 Jan
'15
3:29 a.m.
epidata-list@lists.umanitoba.ca suggestion to "try this":
FIELD1 BEFORE ENTRY IF (oeoe="湖") THEN GOTO FIELD2 ENDIF END END
is a very good general advice in all situations where we apply if .
The suggestion was to change: from: IF oeoe="湖" THEN to : IF (oeoe="湖") THEN
This is also relevant for analysis. Good practice is therefore in all situations with "if" regardless of software:
do not write like this: if v1 = 1 or v2 = 2 then v3 = 2 which is "unsafe" practice in comparison to:
if (v1 = 1) or (v2 = 2) then v3 = 2
or even further enclosing in parenthesis:
if ((v1 = 1) or (v2 = 2)) then v3 = 2
regards Jens Lauritsen EpiData Association