9.0

254
Group
Variable Info
Description
Return the highest index.
Parameter Description
arrayvar Return the highest index for this array variable.
dimension Return the highest index for this dimension of arrayvar. If this is omitted then return
the highest index for the first dimension.
See Also: LBound( ).
Example
Sub Main
Dim
A(3,6)
Debug
.Print UBound(A) ' 3
Debug
.Print UBound(A,1) ' 3
Debug
.Print UBound(A,2) ' 6
End
Sub
UCase$ Function
Syntax
UCase[$](S$)
Group
String
Description
Return a string from S$ where all the lowercase letters have been uppercased.
Parameter Description
S$ Return the string value of this after all chars have been converted to lowercase. If
this value is Null then Null is returned.
See Also: LCase$( ), StrComp( ), StrConv$( ).
Example
Sub Main
Debug
.Print UCase$("Hello") '"HELLO"
End
Sub
Unlock Instruction
Syntax