Hi,
I'm trying to see if a variable is of boolean type. I have a configuration script which uses only boolean and integer variables, so I thought I'd use only one table and then see if the variable is boolean or numeric, instead of having one table for each datatype.
So is there a way to see if a variable is boolean, or numeric, so if it's not one type then it's the other type?
Thanks. :)
I'm trying to see if a variable is of boolean type. I have a configuration script which uses only boolean and integer variables, so I thought I'd use only one table and then see if the variable is boolean or numeric, instead of having one table for each datatype.
So is there a way to see if a variable is boolean, or numeric, so if it's not one type then it's the other type?
Thanks. :)