Quote:
Actually I love the conversions in general, they're one of my favourite things about KiXtart; especially to boolean as it makes the language so much more naturally readable and simpler to write.

Code:
If InStr($s, "hello") "found" EndIf


As I seem to be pedant for the day let me point out that its not quite as simple as converting to boolean.

You already know that a know that data can be automatically cast to a type that matches the expression.

However the "truth" value of the data is not the same thing and will bite you if you are not careful.

Guess what the results of this code will be and then try it, there is at least one result that may surprise you, possible two:
 Code:
$a=0
$b=1
$c="0"
$d="1"
$e=""
$f="foo"
"a is "+IIF($a,"true","false")+@CRLF
"b is "+IIF($b,"true","false")+@CRLF
"c is "+IIF($c,"true","false")+@CRLF
"d is "+IIF($d,"true","false")+@CRLF
"e is "+IIF($e,"true","false")+@CRLF
"f is "+IIF($f,"true","false")+@CRLF