9.0

227
Example
Sub Main
On Error
GoTo X
Err
.Raise 1
Debug
.Print "RESUMING"
Exit
Sub
X: Debug.Print "Err=";Err
Resume Next
End
Sub
RGB Function
Syntax
RGB(red, green, blue)
Group
Miscellaneous
Description
Return a color.
See Also: QBColor( ).
Example
Sub Main
Debug
.Print Hex(RGB(255,0,0)) '"FF0000"
End
Sub
Right$ Function
Syntax
Right[$](S$, Len)
Group
String
Description
Return the last Len chars of S$.
Note: A similar function, RightB, returns the last Len
bytes.
Parameter Description
S$ Return the right portion of this string value. If this value is Null then Null is returned.