02-08-2006, 09:48 PM
I'm playing with the demo, and have come up the equivalent of the following fake code:
Set $Year=2004
Loop
$Year = $Year+1
if $Year = Year ( Get (CurrentDate))
exit loop
end if
End Loop
However, I've gotten used to:
for $Year=2004 to Year ( Get (CurrentDate))
do something here
next $Year
The above is both shorter and lot easier to write. Does FM do anything comparable?
Thanks,
GtDS
Set $Year=2004
Loop
$Year = $Year+1
if $Year = Year ( Get (CurrentDate))
exit loop
end if
End Loop
However, I've gotten used to:
for $Year=2004 to Year ( Get (CurrentDate))
do something here
next $Year
The above is both shorter and lot easier to write. Does FM do anything comparable?
Thanks,
GtDS