Table of Contents

5.4.5.6 Line Input Statement

Note

This section describes the implementation of MS-VBAL §5.4.5.6 Line Input Statement.

Syntax

AST node Instruction kind(s) Notes
KeywordStatementNode Simple Token: "Line Input" (Tokens.LineInput).

See RD-VBAL §3.4.3 File Statements.

Runtime Semantics

Line Input # reads from the channel's character input surface. It Let-assigns what it reads to its target, as MS-VBAL §5.4.5.6 specifies.

Line Input # resolves its target with the same target resolution the Let assignment statement uses (RD-VBAL §5.4.3.8 Let Statement).

Implementation

Name Role
IFileChannelInput The character input surface of a channel, shared with Input # (RD-VBAL §5.4.5 File Statements).
LetAssignmentEvaluator.TryResolveTarget Resolves the target: the same target resolution Input #, Get and the Let assignment statement use.

⏮️ RD-VBAL §5.4.5.5 Unlock Statement | ⏭️ RD-VBAL §5.4.5.7 Width Statement