Table of Contents

Interface IRuntimeOutput

Namespace
RDCore.SDK.Runtime.Abstract.Execution
Assembly
RDCore.SDK.dll

Where a session's Print output goes — the Immediate window's analogue.

public interface IRuntimeOutput

Remarks

MS-VBAL §5.4.5.8's output rules are written in terms of a current line position: a , advances to the next fourteen-character print zone, a Tab(n) moves to column n, and a trailing ; leaves the line open for the next statement to continue. None of that is expressible against a plain TextWriter, which is why the position lives here rather than in whatever renders the text.

Properties

LinePosition

The current line position, one-based — 1 at the start of a line, exactly as MS-VBAL §5.4.5 counts it.

int LinePosition { get; }

Property Value

int

Methods

Write(string)

Writes text at the current line position, which advances by its length.

void Write(string text)

Parameters

text string

The text to write; it contains no line terminators.

WriteLine()

Ends the current line and returns the line position to 1.

void WriteLine()