Navigation:  Reference > Functions >

CrLf()

Print this Topic Previous pageReturn to chapter overviewNext page

 

CRLF(1)

 

PURPOSE

This function allows you to add 1 or more CR/LF pairs to a string.  The would generally be used in a MSG or similar command to control line breaks.

 

PARTS

 

1 f/c/eIf you want more than one CR/LF pair enter the number you want here.  If this is blank or set to 0 then you'll get 1 pair.

 

RETURN TYPE - A

Each CR/LF is made up of two characters, chr(13) and chr(10).

 

EXAMPLE

    msg 'Now is the time'+crlf()+\

      'for all good men' + crlf(3) + 'to come to the aid of their party'

or

msg 'Now is the time' + crlf() + 'for all good men' + crlf(3) + 'to come to the aid of their party'

//the msg above would display the following:

 

 

 

 

 

 


Page url: http://www.cassoftware.com/tas/manual/crlf().htm