Clear Method for LCStream

This method clears a stream value and properties.

Defined In

LCStream

Syntax

lcStream . Clear

Example

Option Public
Uselsx "*lsxlc" 
Sub Initialize
  Dim message As New LCStream
  message.Text = "Hello World"
  Message.Clear
  If (Len(message.Text) > 0) Then
    Print "the message is " & message.Text
  Else
    Print "The message is blank."
  End If
End Sub

Example Output

The message is blank.