Example

To execute multiple commands, separate them with carriage return/linefeed characters in the command string, using the Chr$ function. For example:

Session.ExecuteRCLCommand("DISPLAY 'Hello^M^J" _
& Chr$(rcCR) & Chr$(rcLF) & "DISPLAY 'Goodbye'", _ rcReportErrors)