16 Mar 2011 15:52
Problems with simple expression evaluation
Hubert Mackenberg <hubert.mackenberg <at> morpho.com>
2011-03-16 14:52:25 GMT
2011-03-16 14:52:25 GMT
Hi,
I do not understand the result of some simple expression evaluation.
I have:
test.jam:
VAR = "FALSE" ;
if ! ($(VAR) = "TRUE")
{
echo "VAR is not TRUE" ;
}
else
{
echo "VAR is TRUE" ;
}
EXIT ;
If I run
jam.exe -f test.jam
I get
VAR is TRUE
But that's not what I expect. If I change the if statement to
(Continue reading)
RSS Feed