[sr-dev] test if $var has been give a value

Juha Heinanen jh at tutpro.com
Wed Sep 2 13:14:03 CEST 2009


why does test

if ($var(test)) ...

fail even when $var(test) has a non-empty string value?

the test works, if i do it like this:

if ($var(test) != 0) ...

i'm pretty sure that in k also the first version of the test works.

-- juha



More information about the sr-dev mailing list