Page 1 of 1

Argument error: <=

Posted: Fri Feb 03, 2006 8:25 pm
by Silvio
is wrong this expresiion ?

Code: Select all

  i:=0
  do while i <= wdiapro
    wfecFin++
    if wDiaLab[Dow(wFecIni+i)]
       wFecFin++
    endif
    i++
  enddo
it me make error on <=... why ?

Regards

Re: Argument error: <=

Posted: Fri Feb 03, 2006 10:03 pm
by Enrico Maria Giordano
Check the data type of wdiapro. It must be numeric.

EMG

Posted: Fri Feb 03, 2006 10:06 pm
by Silvio
yes it is numeric
if i insert wdiapro=1 it run ok