[Epidata-list] ranges in chk files

epidata-list at lists.umanitoba.ca epidata-list at lists.umanitoba.ca
Sat Jul 17 14:27:22 CDT 2004


Hi,

You should put in your check file either a LEGAL command or both a RANGE 
and a LEGAL command, depending on the exact values you want to accept.

Example (with the figures you gave):

1. Only with LEGAL command block

variable_name
   LEGAL
      1
      2
      3
      4
      5
      96
      97
      98
      99
   END
end


2. With LEGAL and RANGE commands

variable_name
   RANGE 1 5
   LEGAL
      96
      97
      98
      99
   END
end

NB: in the latter case, be sure to put the RANGE command before the LEGAL 
command block


Hope this helps

Good luck

Yves MP


A 11:48 09/07/2004 -0400, vous avez écrit :
>Is it possible to include 2 ranges in variable field of a chk file?
>doing this gives me an error message.
>I.e. "1-5,96-99"
>
>
>Ramiro A. Muñoz Arévalo
>EQUIPOS/MORI
>BOLIVIA
>
>---
>Outgoing mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.717 / Virus Database: 473 - Release Date: 08/07/2004
>
>
>_______________________________________________
>Epidata-list mailing list
>Epidata-list at lists.umanitoba.ca
>http://lists.umanitoba.ca/mailman/listinfo/epidata-list

Yves MARTIN-PREVEL, Epidemiologist, MD, MSc, PhD
Nutrition Unit (WHO Collaborating Center for Nutrition)
Institut de Recherche pour le Développement (IRD)
01 BP 182 - OUAGADOUGOU 01
BURKINA FASO
Please note changes in the phone and fax numbers below (starting on May 
1st, 2004)
Tel: +226 50 30 67 37    Fax: +226 50 31 03 85
http://www.ird.bf/


More information about the EpiData-list mailing list