-
UDT Arrays Vs Case Structure
Anyone know the advantages and disadvantages of Case Structure Vs UDT Arrays?
Please help.
For example, what are the advantages and disadvantages for me to use either
the followings, which is better and why?
Select Case (strState)
Case "ACT"
dblPercent = 0.4
Case "QLD"
dblPercent = 0.5
xxx
End Select
........................................
Private Type TaxStruc
strState As String
dblPercent As Double
End Type
Dim udtTaxArray(1 To 8) As TaxStruc
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
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|