[EpiData-list] Select, if and count giving different numbers in EpiData Analysis v2x

epidata-list at lists.umanitoba.ca epidata-list at lists.umanitoba.ca
Fri Nov 21 07:23:23 CST 2008


For certain logical statements the following commands would work on 
different subsets of the data
read myfile
sort samlet
select if (samlet = samlet[_n-1])
count  if (samlet = samlet[_n-1])
test = test + "x" if (samlet = samlet[_n-1])
if (samlet = samlet[_n-1]) then test = test + "x"
....................................................................................................................

The bad news is that this is very bad behaviour. The good news is that 
the cause of the error has been located and a new build (v2.1.0.157) has 
been uploaded.

If you are not working with selects and if statements this will not 
affect your work.

Strange that no-one found the bug before (I found this yesterday) and 
the test environment has been extended with this aspect.

regards
Jens Lauritsen
EpiData Association




More information about the EpiData-list mailing list