If statement
Posted: Thu Jul 09, 2009 6:21 am
The if statement below doesn't work and I don't understand why. The variables are converted dates (to seconds) and it does not show up as a syntax error. Any thoughts? The if statement lies inside a repeat loop. I'm trying to sort items between two dates. It looks like it should work.
Code: Select all
if tdate1 < tstartdate < tdate2 then
put number of lines of mydata into tlineNo
put line n of fld "Orders" into line tlineNo + 1 of mydata
end if