[REBOL] Routine support for logic! type?
From: massung::gmail::com at: 5-Apr-2006 21:34
So, I have a bunch of DLL functions which take and return booleans (logic!).
But it doesn't appear as though REBOL has direct support for this [basic]
datatype? I can use integer!, which works, but if I want to use the logic!
type, I'd need to do to-integer when sending it to the routine, and to-logic
when I get the return value back.
Generally speaking, do most people do this? Is there a way to wrap this
somehow so I don't need to, or am I missing something fundamental that will
allow me to use the basic logic! datatype?