On 3/2/2011 5:56 AM, Carl Lindner wrote:
> I ran across this is download files from a few securities firms.
>
> {ABCDEFGHI represent positive 0 through 9
> }JKLMNOPQR represent negative 0 through 9
>
> 256K converts to -2562
>
> 256B converts to  2562
>
> the last field gives the last digit and the sign of the number
>
That's called a "sign overpunch".  In the last column, you punch the 
digit and also the 12-row if it's positive and the 11-row if negative.
(You are using punched cards, aren't you?)

Nostalgia aside, just retrieve the fields as Character, then run them 
through a conversion routine.  Pretty easy.

Dan Covill
World's Oldest FoxPro Programmer


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to