Sub Process_Globals
Dim UnitWords() As String = Array As String( _
"", "One", "Two", "Three", "Four", _
"Five", "Six", "Seven", "Eight", "Nine", _
"Ten", "Eleven", "Twelve", "Thirteen", "Fourteen", _
"Fifteen", "Sixteen", "Seventeen", "Eighteen", "Nineteen" _
)
Dim TenWords() As String = Array As String( _
"", "Ten", "Twenty", "Thirty", "Forty", _
"Fifty", "Sixty", "Seventy", "Eighty", "Ninety" _
)
'only need to go up to Pentillions to handle largest Long integer, but while we're here...
Dim ThousandWords() As String = Array As String( _
"", "Thousand", "Million", "Billion", "Trillion", _
"Quadrillion", "Pentillion", "Sexillion", "Septillion", "Octillion" _
)
End Sub