Simple IF statement not working. Not sure what I am doing wrong. I want to print 32 if the negation of 64 is false and 64 otherwise
If[!($SystemWordLength = 64),32, 64]
I believe that on all platforms supported today, just using
$SystemWordLength
will return the same number as the If statement, so that may suffice.
If
That's enough
If[$SystemWordLength != 64, 32, 64]
Does it work with Equal (==) instead of Set (=)?