comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Convertion from binary string to 16bit integer
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Convertion from binary string to 16bit integer [message #56221] Sun, 14 October 2007 02:21
Tal is currently offline  Tal
Messages: 26
Registered: August 2007
Junior Member
Hi guys,

Great help with this int2bin code from 2005 (1993):
http://groups.google.com/group/comp.lang.idl-pvwave/browse_t hread/thread/61b692e9e403ef59/bdc5ce69d034eb17?hl=en&lnk =gst&q=int2bin

Has anyone wrote an inverse code like bin2int or something equivalent?
It would be generally to sum up all products of 2^i values with the
corresponding 1's and 0's that a binary string has. (i=0,15 or 0,7 for
example).

The solution i'm looking for is for a 16bit binary string.

Cheers,
Tal
[Message index]
 
Read Message
Previous Topic: How to export latlongs?
Next Topic: clear the WIDGET_DRAW

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 11:00:38 PDT 2025

Total time taken to generate the page: 2.88291 seconds