Prev: Transparent Picturebox
Next: Error from Hell: Overflow
From: J French on 11 Oct 2005 07:56 On Tue, 11 Oct 2005 11:32:06 +0100, "Mike Williams" <Mike(a)WhiskyAndCoke.com> wrote: <snip> >However, in BCD the decimal number 10 would be held in >two bytes as (in hex representation to make things clear) &H010A and the >same decimal number 10 as "packed BCD" would be held in one byte as &H1A. 0 to 9 0 to 9 [128][64][32][16] | [8][4][2][1] 1 0 0 0 0 &h10 or Chr$(16) which ties up with the original post >Personally I think it might be wise to wait un til the OP posts again so >that we know exactly what his requirements are. >Mike I used to know a lot about packed BCD as that was the format for Microsoft Business Basic, also for Track 2 on a credit card 'unpacked' BCD might as well be String Arithmetic - something I've never seen in MS - but IIRC VAX BASIC supported it Hmm... I think the OP might be messing around with a device that writes mag strips on credit cards. >
From: Mike Williams on 11 Oct 2005 08:28 "J French" <erewhon(a)nowhere.uk> wrote in message news:434ba469.273894686(a)news.btopenworld.com... .. . . oops! I'm afraid I got that completely wrong! I knew exactly what I wanted to write, but with Maureen hovering over my shoulder and wanting her computer back it somehow didn't turn out that way :-( Silly me. Mike
From: J French on 11 Oct 2005 08:37 On Tue, 11 Oct 2005 13:28:07 +0100, "Mike Williams" <Mike(a)WhiskyandCoke.com> wrote: >"J French" <erewhon(a)nowhere.uk> wrote in message >news:434ba469.273894686(a)news.btopenworld.com... > >. . . oops! I'm afraid I got that completely wrong! I knew exactly what I >wanted to write, but with Maureen hovering over my shoulder and wanting her >computer back it somehow didn't turn out that way :-( Not entirely wrong - but better I caught it rather than leave it for posterity
From: ck on 11 Oct 2005 19:17
"Duane Bozarth" <dpbozarth(a)swko.dot.net> wrote in message news:434ACA86.D0AAC2A6(a)swko.dot.net... > Randy Birch wrote: > > I'm thinking this sounds like documentation for some piece of hardware > written in what passes as an English translation--I've had a few > Advantech boards recently that were candidates for a contest of > poor/misleading/erroneous documentation. :( > My favorite: "Do not press the keys hardly...." Chris A. Kusmierz |