Page 1 of 1
Doube type
Posted: Wed Sep 07, 2005 3:57 am
by SebMcClouth
Is it possible to combine types?
For example: I have
Code: Select all
TYPE UserInfo
name as string * 40
end type
TYPE UIinfo
uid as string * 40
end type
dim User as UserInfo
dim User.name as UIinfo
Would this be possible?
Posted: Wed Sep 07, 2005 4:13 am
by Z!re
No
Posted: Wed Sep 07, 2005 4:26 am
by SebMcClouth
Okay, short.
Is it then possible to do in PDS sumfin like User_name.uid?
grtz
Seb
Posted: Wed Sep 07, 2005 4:37 am
by Z!re
Code: Select all
TYPE UserInfo
name as string * 40
uid as string * 40
end type
dim User as UserInfo
Code: Select all
TYPE UserInfo
name as string * 40
ui as UIinfo
end type
TYPE UIinfo
uid as string * 40
end type
dim User as UserInfo
User.ui.uid = "test"
Posted: Wed Sep 07, 2005 5:03 am
by SebMcClouth
Okay thx. looking good.
grtz
Posted: Wed Sep 07, 2005 5:34 am
by {Nathan}
Just wondering: ??? is UI??? Like, is it built in or what... I feel like a noob all over again
Posted: Wed Sep 07, 2005 5:46 am
by Z!re
It's a variable
Posted: Wed Sep 07, 2005 8:19 pm
by {Nathan}
Ohh... oops... mental block there. Too much C++.