The question should really have been put to

If the value of "pos" at the first execution of the "dow"
comparison, you will get an array index error. For a group
of "and"ed clauses, the first comparison is checked first.

If "pos" is at zero when this loop begins, it will not
execute even once.

Maybe you really want:

pos = 1
dow pos < 52 and ( InputMAD( pos ) <>  ';' )
eval   pos = pos + 1


pos = 0
dou pos = 52 or ( InputMAD( pos ) =  ';' )
eval   pos = pos + 1

both of which will finish the same.

- Alan

If that doesn't get it, pos your question over there:


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.