Parameter block: No Boolean type?

I have a File Sink Block, which takes a boolean input (Unbuffered).

I wanted to feed the file sink’s Ubuffered value from a Parameter block,
but it does not support Boolean?

Any other sensible type I try from the Parameterr Block choices (like
String or Int), GRC says the value of ‘0’ is invalid for type bool.

Is there a trick to doing this to get around this apparent limitation?
Or I must be missing something.

I’m using a parameter block so I can specify the Unbuffered value on the
command line.

Using GRC, v3.6.4.1 .

Thanks in advance,
Tim

On 05/10/2013 01:14 PM, Monahan-Mitchell, Tim wrote:

I have a File Sink Block, which takes a boolean input (Unbuffered).

I wanted to feed the file sink’s Ubuffered value from a Parameter block, but it
does not support Boolean?

grep for xml files with bool, many blocks use this, but the
GRC validates the type, so its expecting actually type bool so True or
False. So if you have something like an integer, you can put
bool(my_int_var) in the param box.

-josh