PDA

View Full Version : Hexadecimal Numbers



NewsArchive
09-04-2007, 02:03 AM
I was looking over Common Definitions.sbi and saw several constants set to
numeric values followed by the letter L. It appears that this is how SB
indicates hex numbers, am I correct? I couldn't find anything about it in the
manual or online help.

If so, can they be compared directly with a decimal (base 10) integer with the same value?

Peter Gysegem
Beaver Creek Software

NewsArchive
09-04-2007, 02:04 AM
Peter,

> I was looking over Common Definitions.sbi and saw several constants set
> to numeric values followed by the letter L. It appears that this is how
> SB indicates hex numbers, am I correct? I couldn't find anything about
> it in the manual or online help.
>
> If so, can they be compared directly with a decimal (base 10) integer
> with the same value?

Only constants support hex numbers. For example:

Set Variable %TEST% to "$VER_SUITE_BLADE$"

$VER_SUITE_BLADE$ is 400L. %TEST% value is 1024.

Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 6.5
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner