Is there any Op-code for date Range?

It is called IF <evil grin>

I won't attempt to give you the full code - but the basic compare to ensure
that the new date is outside the current range would be something like:

If %Date( newDate : *CMDY ) > %Date( currentHigh : *CMDY ); // Date is OK

If the new date is supposed to be (say) just one day after the current high
date you could do this:

If %Date( newDate : *CMDY ) = ( %Date( currentHigh : *CMDY ) + %Days(1);


IS this the kind of thing you wanted?

Jon Paris
Partner400

www.Partner400.com



This thread ...


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

This mailing list archive is Copyright 1997-2026 by midrange.com 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.