Rick,

>When I run it on
>the Windows platform I preiodically get a divide by zero error....


Try the following:

on generateMCH
  global MCH, glower, gupper
  if gUpper>1 and gLower>0 and gUpper>gLower then
    put empty into MCH
    repeat until MCH >glower
      put  random(gupper) into MCH 
    end repeat
    put MCH/10 into MCH
    put MCH into line 5 cd field "RBCresults"
  else put "The limits seem wacky."
end generateMCH

Nelson

Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to