Welcome to the IDM Forum. This forum is meant as a user-to-user support mechanism where users can share knowledge and tips for all IDM software.
Since these forums are user-to-user based, IDM does not regularly read or reply to the posts in this forum. For problem reports, suggestions, or feature requests, you must email us directly. Our trained technical support staff answers most inquiries within 30 minutes.
var sLeadingZeros = "00000000";
for (var nNumber = 0; nNumber < 256; nNumber++)
var sBinary = nNumber.toString(2);
var nLeadingZeroQuantity = sLeadingZeros.length - sBinary.length;
if (nLeadingZeroQuantity > 0)
sBinary = sLeadingZeros.substr(0,nLeadingZeroQuantity) + sBinary;
UltraEdit.outputWindow.write("Number "+nNumber.toString(10)+" = "+sBinary);