|
-
Dec 7th, 2001, 04:57 PM
#1
Thread Starter
New Member
User Defined type question
Public actor() As actorbase
Type actorbase
num As Integer
pos As String
model As New Actor8
End Type
ok theres the basic layout, now my question is can i have a string bound directly to the actorbase root....
in other words.
actor(0)="abcd" 'this returns an error
-
Dec 7th, 2001, 05:02 PM
#2
Member
Types don't work that way. Instead:
VB Code:
Public Type FooType
FooString As String
End Type
Public Foo As FooType
' and somewhere else
Msgbox Foo.FooString
-
Dec 7th, 2001, 05:30 PM
#3
Frenzied Member
its got to be possible. Notice when you declare a workspace:
Din wrksp as Workspace
wrksp = 'something
retired member. Thanks for everything 
-
Dec 7th, 2001, 05:35 PM
#4
Thread Starter
New Member
well its not a huge problem, I can run my ubound search on this type another way.....
this way would have just been cleaner and quicker..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|