|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Type within a Type
Hello,
Is it possible to declare two types and have one type have a variable defined as the other type - Type LinkTo strName As String strExtension As String strLocation As String End Type Type Page strPageName As String strExtension As String strLocation As String arrLinks() As Link End Type |
|
#2
|
|||
|
|||
|
Just figured out the error. Link should of been LinkTo.
I then got the error cannot define a public user defined type within a private object module so I declared both types as Private and this solved the problem |
|
#3
|
||||
|
||||
|
--moved to the Visual Basic Forum, that's not ASP issue.
|
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Type within a Type |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|