Results 1 to 1 of 1

Thread: [VB] Binary

Threaded View

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Sep 1999
    Location
    Phoenix, az
    Posts
    1,517

    [VB] Binary

    VB Code:
    1. Function Bin(ByVal X As Long) As String
    2.     Do
    3.         Bin = (X And 1) & Bin
    4.         X = X \ 2
    5.     Loop While X
    6. End Function
    Last edited by Evan; Feb 3rd, 2004 at 03:25 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width