Announcement

Collapse
No announcement yet.

Retrieving value of a binary string

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Retrieving value of a binary string

    ok... with the bin() function you can get a string containing the value in binary of the specified number. Is there an easy way without making huge if-elseif lists, to retrieve the actual intege again?

    Thanks in avance.

    ------------------

  • #2
    S$ = "&B" + BIN$(I%)

    I% = VAL(S$)


    ------------------
    mailto:[email protected][email protected]</A>

    Comment


    • #3
      Indeed that is a simple solution, thanks once again.

      ------------------

      Comment

      Working...
      X