Macro ^

boolean

Description ^

Given a pmc, set a register to indicate whether it is true or false from Tcl's POV.

Usage

 .boolean(VALUE,RETVAL,INT_TMP,STR_TMP)

 Where:
VALUE (IN)

contains the value to compare

RETVAL (OUT)

will contain 0 (false) or 1 (true) after the macro.

INT_TMP (TMP)

a temporary integer register

STR_TMP (TMP)

a temporary string register


parrot