Thread overview
iftype on struct or class?
May 28, 2005
clayasaurus
May 28, 2005
Hasan Aljudy
May 29, 2005
Walter
May 29, 2005
clayasaurus
May 29, 2005
clayasaurus
May 30, 2005
Andrew Fedoniouk
Jun 01, 2005
Walter
May 28, 2005
Is it possible to use iftype to determine if T is a class or a struct? Or is there a better way?

I havn't had any luck. :-/ thx.
May 28, 2005
clayasaurus wrote:
> Is it possible to use iftype to determine if T is a class or a struct? Or is there a better way?
> 
> I havn't had any luck. :-/ thx.

All classes inherit from Object.
I haven't tried using iftype, but if it works on super classes, then you can check if the type is "Object". if it is, it's probably a class.
May 29, 2005
"clayasaurus" <clayasaurus@gmail.com> wrote in message news:d7ame3$1b33$1@digitaldaemon.com...
> Is it possible to use iftype to determine if T is a class or a struct?

You can determine if it's a class by using :Object. Being able to tell if it is a struct, union, interface, enum, etc., is coming in the next version.


May 29, 2005
Walter wrote:
> "clayasaurus" <clayasaurus@gmail.com> wrote in message
> news:d7ame3$1b33$1@digitaldaemon.com...
> 
>>Is it possible to use iftype to determine if T is a class or a struct?
> 
> 
> You can determine if it's a class by using :Object. Being able to tell if it
> is a struct, union, interface, enum, etc., is coming in the next version.
> 
> 

does etc. include arrays? : )
May 29, 2005
clayasaurus wrote:
> Walter wrote:
> 
>> "clayasaurus" <clayasaurus@gmail.com> wrote in message
>> news:d7ame3$1b33$1@digitaldaemon.com...
>>
>>> Is it possible to use iftype to determine if T is a class or a struct?
>>
>>
>>
>> You can determine if it's a class by using :Object. Being able to tell if it
>> is a struct, union, interface, enum, etc., is coming in the next version.
>>
>>
> 
> does etc. include arrays? : )

nevermind *doh*
May 30, 2005
>
> Being able to tell if it
> is a struct, union, interface, enum, etc., is coming in the next version.
>

Sounds very promising :) Just one question: next version or build? :)

Andrew.


June 01, 2005
"Andrew Fedoniouk" <news@terrainformatica.com> wrote in message news:d7e8qg$148c$1@digitaldaemon.com...
> >
> > Being able to tell if it
> > is a struct, union, interface, enum, etc., is coming in the next
version.
> >
>
> Sounds very promising :) Just one question: next version or build? :)

build