|
Thanks... that does do the trick. I also now see that bit numbering starts at 0 not 1. I could have done TESTB and BITON & BITOFF but that seemed... well too mundane for my mood right now. Thought this might be a bit nicer. Idle hands are the devil's playground! Tom --- Leif Svalgaard <leif@leif.org> wrote: > INIT(X'61626300') > > you were thinking binary and thought: > INIT(B'01100001011000100110001100000000'); > > hate to say it, but you CAN do bit manipulation in > any language, > even COBOL and RPG. You don't need any fancy > extensions > if BIF's. __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com
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.