MGunit documentation

Unit testing for IDL

single page | use frames     summary     class     fields     routine details     file attributes

dist_tools/strings/

mg_newline.pro


top mg_newline

result = mg_newline( [/unix] [, /windows])

Returns the newline separator(s) for the OS: linefeed on UNIX platforms and carriage return/linefeeds for Windows.

Return value

string

Keywords

unix in optional type=boolean

use just linefeed

windows in optional type=boolean

use carriage return and linefeed

File attributes

Modification date: Tue Jan 25 13:24:53 2011
Lines: 26
Docformat: rst rst