Skip to the content
Documentation

This code will give you unexpected results

No ratings yet

This code:

{def $myvar = first_set($myobject.contentobject.data_map.my_integer_var.data_int, 0)}
MYVAR = {$idanag}; {$myobject.contentobject.data_map.my_integer_var.data_int}

will display
MYVAR = ; 0
instead of
MYVAR = 0; 0
so, first_set handles 0s as "unset". this either needs to be documented or marked as a bug.