I thought I understood the difference between the ${var} syntax and the $var syntax, but I’m still confused by the following:
${myvar}= Set Variable False
Log To Console myvar contains ${myvar}
IF ${myvar}
Log To Console \$\{myvar\} is considered to be True
ELSE
Log To Console \$\{myvar\} is considered to be False
END
IF $myvar
Log To Console \$myvar is considered to be True
ELSE
Log To Console \$myvar is considered to be False
Output:
myvar contains False
${myvar} is considered to be False
$myvar is considered to be True
I’d like to know why ${myvar} is considered to be False by the IF statement but $myvar is True?