[Gambas-user] Using Date datatype for FOR-NEXT
Rolf-Werner Eilert
eilert-sprachen at ...221...
Fri Jun 15 08:51:11 CEST 2007
Hope this gets through to you, I just read about trouble on the list...
When I have something like
IF mydate = Date(Now) + 1 THEN
this runs well (saying "tomorrow"), but when I have the variables
startdate, enddate, i
all of type Date, I cannot make a FOR NEXT loop with them:
FOR i = startdate to enddate
It results in errors about wrong datatype ("expected numeric, got date
instead" etc.)
Why's that?
Rolf
More information about the User
mailing list