Sys Void Exampe

The void vipers always returns a void type. A void type has no effect when used within an expression.

Smartsite SXML CopyCode image Copy Code
{sxml.gettypename( 'foo' )}
{sxml.gettypename( 'foo' + 'bar' )}
{sxml.gettypename( 'foo' + sys.void(1+2) )}
{sxml.gettypename( 123 )}
{sxml.gettypename( 123 + 'bar' )}
{sxml.gettypename( 123 + sys.void(1+2) )}
Example Result CopyCode image Copy Code
string
string
string
integer
string
integer