Class BarePrintStaticSemantics
Where a Print statement with no file number is a statement at all.
public static class BarePrintStaticSemantics
- Inheritance
-
BarePrintStaticSemantics
- Inherited Members
Remarks
A bare Print is the Print member of a form or a report in VB6, which the platform has none of. In VBA it is a reserved identifier with
no semantics and no statement inside a procedure (only the Immediate window, which is not procedure scope, accepts it as Debug.Print), so in
a language without one (HasBarePrint) it is as undefined as any other name the language does not declare.
Methods
Evaluate(PrintStatementNode, SupportedLanguage?)
Evaluates a Print statement against the language it is written in.
public static VBCompileErrorInfo? Evaluate(PrintStatementNode print, SupportedLanguage? language)
Parameters
printPrintStatementNodeThe statement.
languageSupportedLanguageThe language the body is written in, or null when it is not stated: no language's rules apply then.
Returns
- VBCompileErrorInfo
The error, or null when the statement exists in the language.