Spikenspan #1 It explains everything. I simply assumed TYPE to be just like STRUCT in c. Thanks a lot for the reply!