Public nTemp2 as Integer
Public market(3) As Markets
Type Markets
nItemSellRate(11) As Currency
nItemBuyRate(15) As Currency
isItemSellable(11) As Boolean
isItemBuyable(15) As Boolean
End Type
For nTemp2 = 0 To 3
market(nTemp2) = MakeMarket(nTemp2)
Next nTemp2
By the Way: MakeMarket(Index As Integer) is a function in a module file.
Getting the following Error: "Only public user defined types defined in public object modules can be used as parameters or return types for public procedures of class modules or as fields of public user defined types."
What Gives? MSDN Help is not very helpful....Where am I going wrong?
Using VB6.
Public market(3) As Markets
Type Markets
nItemSellRate(11) As Currency
nItemBuyRate(15) As Currency
isItemSellable(11) As Boolean
isItemBuyable(15) As Boolean
End Type
For nTemp2 = 0 To 3
market(nTemp2) = MakeMarket(nTemp2)
Next nTemp2
By the Way: MakeMarket(Index As Integer) is a function in a module file.
Getting the following Error: "Only public user defined types defined in public object modules can be used as parameters or return types for public procedures of class modules or as fields of public user defined types."
What Gives? MSDN Help is not very helpful....Where am I going wrong?
Using VB6.