RSet Instruction

Syntax

RSet strvar = str

Group

Assignment

Description

Assigns the value of str to strvar. Shorten str by removing trailing chararcters (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