I'm trying to type cast a variable as boolean, but I keep getting some wierd error when I try to use it.
For example I've got the following code:
(defmacro mytest (foo "b") foo)
If I try to execute: foo(t) I get the following error:
*Error* mytest: argument #1 should be ddUserType (type template = "b") - t
From what I understand, ddUserType is a boolean.
Where did I mess up?
In reply to Andrew Beckett:
Sorry I mis-typed, I meant to askabout type checking, not type casting.
Thanks for the info. I guess I'll just have to check the variable internally