What does the following line do?
Code:
Dim num As Single = CSng(-((num2 = Single.MinValue) > False))
-((num2 = Single.MinValue) > False)
num2 value is equal to the Single.MinValue (-3.402823e38)true=1 and false=0, you are checking to see if the result returns true since true>false. num2 is equal to -3.402823e38...it then checks to see if the result is greater than false (in other words it checks to see if it is true). num will be instantiated as a -1 or 0 depending on the result of checking num2.If Flag = True Then Value = Value + 1 End If
Value = Value - Flag
Comment