advertisement
Forums

The Forum is sponsored by 
 

AAPL stock: Click Here

You are currently viewing the Tips and Deals forum
Looping in FileMaker 8 scripts
Posted by: Greg the dogsitter
Date: February 08, 2006 03:48PM
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



---
Use Excel? Can I interest you in saving some time with Excel? Listifier.com!
Options:  Reply • Quote
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 219
Record Number of Users: 186 on February 20, 2020
Record Number of Guests: 5122 on October 03, 2020