Characters for line breaks. Sometimes you may need to put together text strings and separate them with line breaks. You can simply do that with the following function.

 

Syntax

function CRLF: string;

 

Function result

Text string with two ASCII characters — #13#10.

 

Example


var
  s: string;
begin
  s := 'Sweet Home Alabama' + CRLF + 
       'Big wheels keep on turning' + CRLF + 
       'Carry me home to see my kin.' + CRLF + 
       'Singing songs about the Southland,' + CRLF + 
       'I miss Alabama once again.' + CRLF + 
       'And I think its a sin, yes.';
  mLogScript(s, '');
end.


Script work result

[17:58:57] (Log "CRLF"): Sweet Home Alabama

Big wheels keep on turning

Carry me home to see my kin.

Singing songs about the Southland,

I miss Alabama once again.

And I think its a sin, yes.

[17:58:57] (Run "CRLF"): Script operation time: 2 ms

[17:58:57] (Run "CRLF"): Script done successfully.
 

See also

mLogScript