|
Hmmm... what are you trying to do with the concatenations? If it's something like control characters (to highlight, reverse image, and so on), why not just put the hex values in a constant, then concatenate using the "+" operator? Makes the code much easier to read.... William ----- Original Message ----- From: <Jon.Paris@hal.it> To: <midrange-l@midrange.com> Sent: Monday, August 14, 2000 9:46 AM Subject: Concatenate hex in RPG IV > >> How can i concatenate hexadecimal in string in RPGLE??? > > There were some problems in earlier releases of the compiler because it > wanted to treat hex values as numerics - don't know what release you are > using. Current releases work fine either directly in the Eval (e.g. Eval > Result = Field + X'15') or defining the hex values as a constant. > > +--- > | 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 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.