Programming Reference Manual
 
Syntax
 
LSet strvar = str
-or-
LSet usertypevar1 = usertypevar2
 
Description
Form 1: Assign the value of str to strvar. Shorten str by removing trailing chars (or extend with blanks). The previous length strvar is maintained.
 
Form 2: Assign the value of usertypevar2 to usertypevar1. If usertypevar2 is longer than usertypevar1 then only copy as much as usertypevar1 can handle.
See Also
Example
 
Sub Main
    S$ = "123"
    LSet S$ = "A"
    Debug.Print ".";S$;"." '".A  ."
End Sub