• Subject: Re: last day of month
  • From: Rob Berendt <rob@xxxxxxxxx>
  • Date: Tue, 19 Oct 1999 13:12:00 -0500

Then if Y was equal to 2, datefield would be equal to 3998?





pcdow@yahoo.com on 10/19/99 01:08:08 PM
Please respond to MIDRANGE-L@midrange.com@Internet
To:     MIDRANGE-L@midrange.com@Internet
cc:      
Fax to: 
Subject:        Re: last day of month

> >Now just allow some more descriptors and you could have
> >
> >    C      *D               MOVE      01                 datefield
> >    C      *M               MOVE      12                 datefield
> >    C      *Y                MOVE      2001            datefield
> >

>  I agree to a point - the functionality is there.  But since RPG seems to
> be going in the direction of BIFs and free-form, SETDATE would fit that
> model better.
>
>  -mark

How about

        EVAL datefield = 01*D
        EVAL datefield = 12*M
        EVAL datefield = 1999*Y

Peter Dow
Dow Software Services, Inc.
909 425-0194 voice/fax


> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
> | To unsubscribe from this list send email to
MIDRANGE-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator:
david@midrange.com
> +---


__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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

This mailing list archive is Copyright 1997-2024 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.