Abstract type: Difference between revisions
Content added Content deleted
No edit summary |
|||
Line 363: | Line 363: | ||
'the user-defined type "c". |
'the user-defined type "c". |
||
e As String 'As mentioned above the user-defined type, in this case "c", can have constituent elements of differing types. |
e As String 'As mentioned above the user-defined type, in this case "c", can have constituent elements of differing types. |
||
End Type 'Notice that since this is a user-defined type and not an object, there are no methods defined within it. |
End Type 'Notice that since this is a user-defined type and not an object, there are no methods defined within it. For this |
||
'example defining a member of "c" as both a SUBroutine and a FUNCTION was attempted, neither of which was |
|||
'successful. It should also be noted that it is illegal to define a user-defined type without any elements. Put |
|||
'another way, all user-defined types require at least one element. |
|||