Argument error: <=

Argument error: <=

Postby Silvio » Fri Feb 03, 2006 8:25 pm

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
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: Argument error: <=

Postby Enrico Maria Giordano » Fri Feb 03, 2006 10:03 pm

Check the data type of wdiapro. It must be numeric.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Silvio » Fri Feb 03, 2006 10:06 pm

yes it is numeric
if i insert wdiapro=1 it run ok
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Antonio Linares and 53 guests