decimal to binary

"gws32750" <[email protected]> Thu, 14 Aug 2003 22:07:25 -0000
Newsgroups gmane.comp.lang.delphi.programming
Message-ID <[email protected]>
Hi I am beginner in programming would like to ask the following. I 
am looking for a fast way to convert a decimal number (0-256) into 
binary and then set the value of eight differnt check boxes based on 
the value of the binary number.

I have done it but my code is very long and cumbersome and am 
looking for shorter ways  so that I can learn

Thank you.


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/i7folB/TM
---------------------------------------------------------------------~->

CodeCoffer - new Delphi code protection Tool!
http://www.delphicollection.com/public/CodeCoffer.htm
---------------------------------------------------------------
Unsubscribe:[email protected]
List owner:[email protected]
--------------------------------------------------------------- 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/