|
Sorry, I don't follow you. What do you mean by "get 105 in a single
character"? (Unless you mean exactly what I said already, that you
want to set the value of a byte to x'69', which is the same as decimal 105?)
Likewise, when you say F1F2 compressed into 12, that's what I already
said... instead of charvar = '12' you'd do charvar = x'12'.
Isn't that what I said? What am I missing?
On 8/3/2011 3:52 PM, John McKee wrote:
Scott,--
That was example data only. Not good, either, unfortunately. I need
to get 105 in a single character. Then, pairs of digits - such as 1
and 2 - which would be in a character string as F1F2 (two characters)
compressed into one character (12). Different digit pairs are needed
(variable data). The 105 and another value, 104, are constants used
to identify the change of coding within a barcode sequence. Just
latched onto %char, unfortunately.
John McKee
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-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.