RSet Instruction

Syntax

RSet strvar = str

Group

Assignment

Description

Assign the value of str to strvar. Shorten str by removing trailing chars (or extend with leading blanks). The previous length strvar is maintained.

Example


Sub Main
    S$ = "123"
    RSet S$ = "A"
    Debug.Print "."; S$; "." '".  A."
End Sub

See also

LSet