TEXTBLOCK

From RAD Studio
Jump to: navigation, search

Go Up to Delphi Compiler Directives (List) Index

Type

Expression

Syntax

{$TEXTBLOCK NATIVE/CR/LF/CRLF [<ident>]}

Default

NATIVE

Scope

Local



Remarks

{$TEXTBLOCK} specifies how line breaks are treated in multiline strings.

The additional <ident> parameter is a decoration, ignored by the compiler but possibly used by external tools. It may be HTML, XML, JSON, SQL, etc. to indicate the content and possibly drive a syntax highlighting tool.


See Also