Elias Athanasopoulos
11/10/2003 6:19:00 PM
Hello!
On Mon, Nov 10, 2003 at 12:14:36PM -0600, Lyle Johnson wrote:
> I would probably use the Check_Type() macro:
>
> Check_Type(obj, T_ARRAY);
>
> which raises a TypeError exception if obj is not an Array. If you want
> more control over how the error is reported, instead do something like:
>
> if (TYPE(obj) != T_ARRAY) {
> /* report error here */
> }
Thank you. It is what I wanted. I just found Check_Type()
function.
Sorry for the noise.
Regards,
--
University of Athens I bet the human brain
Physics Department is a kludge --Marvin Minsky