This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Is "=" same as "==" in case of comparing two nmbers in InstallScript?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 05, 2018
10:48 AM
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]
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]
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 26, 2018
07:35 AM
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 "=".
"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 "=".