Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 2

Is "=" same as "==" in case of comparing two nmbers in InstallScript?

I know in other languages while comparing two numbers, we write:

if(numOne == numTwo)

But, I have read in many instances of InstallShield Help Library that says - for e.g. - "if (this = that)"

Also, I have checked it myself.. It works correctly at both the times.

Any light shed on this would be helpful!

thanks in advance

[SIZE=1]xbox 360 emulator for pc Justin tao seeger BMB[/SIZE]
Labels (1)
0 Kudos
(1) Reply
Level 2

From the help for the "= operator":-

"Unlike C, which uses == to test for equality, InstallScript's assignment operator and relational operator use the same symbol ( = ). "

"==" appears to be treated the same as "=".
0 Kudos