|
This is a multipart message in MIME format. -- [ Picked text/plain from multipart/alternative ] HTML color values are red:blue:green. 0 to 255, or 00 to ff. How would i make color Value 255:255:255 appear in a string as ff:ff:ff? ---------------------------------------------------------------- Booth Martin, 802-454-8315 x235 Goddard College Information Services http://www.Goddard.edu ---------------------------------------------------------------- bmorris@ca.ibm.com Sent by: rpg400-l-admin@midrange.com 09/10/01 02:18 PM Please respond to rpg400-l To: rpg400-l@midrange.com cc: Subject: Re: Your favorite hex conversion routine - ILE > From booth@MartinVT.com > Sent: Monday, September 10, 2001 6:25 PM > Why does this seem so confusing. First, Barbara, thank you for the > code on the FAQ page. Second, how would I use it to convert 123 to > hex? Booth, Why does it seem so confusing? I think it's a terminology problem. I've seen the request for a "convert to hex" function used for conversion to 'C1C2' and conversion to X'C1C2'. What do you mean by "123", and what do you mean by "hex"? Tell us what field type holds the 123 and exactly what value it would hold; and what field type you want the result in and exactly what value you want it to hold. Barbara Morris _______________________________________________ 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-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.