by Dave Lambert (3 Submissions)
Category: Miscellaneous
Compatability: Visual Basic 3.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating:
(2 Votes)
This code demonstrates how to convert a long value into a 32 bit binary value by using a function that is called recursively (it calls itself). A heavily commented demonstration application is included in the zip file that also includes techniques and coding methods that beginners may also find useful.
Inputs
Long value
Assumes
A complete project is included that demonstrates how to use the LongToBinary() function.
Code Returns
Binary value as a string