Page 1 of 1

Argument error: <=

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


Code: Select all  Expand view
  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: <=

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

EMG

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