Hello,
I am pulling the currentVersion registry value for the netscape browser and storing it as a variable. The value returned is "7.01 (en)".
I then use the Left String function to grab the first string of this variable which is "7".
I now check this value using the following code:
IF (%stringResult% < "7")
IF (%YesNoResult% <> "YES")
Execute (%SrcDir%\installers\NSSetup8.exe)
END IF
GOTO Label(FINISH_BROWSER_CHECKING)
END IF
The problem is that when SF6 evaluates the first IF statement AND the %stringResult% >= "7", it never executes the GOTO Label(FINISH_BROWSER_CHECKING) statement.
Why? Does SF6 interpret strings and numbers the same way? If there a way to convert a string to a number so instead of "7" it is just 7?
thanks,
rise4peace
I am pulling the currentVersion registry value for the netscape browser and storing it as a variable. The value returned is "7.01 (en)".
I then use the Left String function to grab the first string of this variable which is "7".
I now check this value using the following code:
IF (%stringResult% < "7")
IF (%YesNoResult% <> "YES")
Execute (%SrcDir%\installers\NSSetup8.exe)
END IF
GOTO Label(FINISH_BROWSER_CHECKING)
END IF
The problem is that when SF6 evaluates the first IF statement AND the %stringResult% >= "7", it never executes the GOTO Label(FINISH_BROWSER_CHECKING) statement.
Why? Does SF6 interpret strings and numbers the same way? If there a way to convert a string to a number so instead of "7" it is just 7?
thanks,
rise4peace
Comment