15 Apr
2008
15 Apr
'08
7:57 p.m.
There is no / before the if This is a case of EpiData having somewhat simpler and more natural syntax. The / is reserved for options.
So:
list idno sr if idno < 10
There is only one option with list (/no to not show record numbers), so:
list idno sr /no if idno < 10
Syntax for this use of IF is in the command reference under "temporary selection"
The error messages with syntax problems are sometimes misleading.
Jamie
SK wrote:
here is what I did and the error message: . read Loading data F:\EpiExam\blood.rec, please wait.. File name : F:\EpiExam\blood.rec Fields: 5 Total records: 2166 Included: 2166 . List?????? idno? sr? /if idno<10 = sign expected at idno