|
I'm struggling with trying to figure out a style for my /free code and when and where to use procedures and built in functions, yadda, yadda, yadda. The conclusion I came to with whether to use MOVE or my own BIF was why do something like this: ISOnumericDate = cvtProc( USADate : *ISO ); when I could just do this with same parameters/variables and the existing code functions: *ISO move USADate ISOnumericDate But like the three different examples offered for this same problem. It's a total judgment call. -----Original Message----- From: Buck Calabro [mailto:Buck.Calabro@commsoft.net] Sent: Thursday, December 19, 2002 1:54 PM To: rpg400-l@midrange.com Subject: RE: Using RPG /Free how do I get an ISO variable into a non-date 8,0 variable in *USA format >I asked the same question a month ago and yes, MOVE is the >only reasonable option from what I've learned. Unless you write your own procedure/function to do these sorts of common date manipulations. What goes on inside the function (MOVE) is irrelevant to the fact that you can use your own function Exactly The Same Way you would use an IBM BIF. --buck _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l or email: RPG400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.