Jump to content

Recommended Posts

Posted
Posted

Okay that code you were talking about is used to turn 000000, 00000, 0000, 000, and 00 into 0 since the Hex() function in the copier returns six digits. That way, a number like 0x0000FA turns into 0xFA since the preceding zeros are not needed by the interpreting function.

Posted

Couldn't you just use the length parameter of the hex function to shorten it?

MsgBox (0, "", Hex (0x0000FA))

MsgBox (0, "", Hex (0x0000FA, 2))

Sure, this was the way I thought of it at the time though. :o

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...