.NET/Link API Version 1.5 USE FRAMES

IMathLink.GetStringCRLF Method 

Reads a Mathematica character string and translates newlines into Windows format.

[Visual Basic]
Function GetStringCRLF() As String
string GetStringCRLF();


Mathematica strings use a \n character (ASCII 10) for newlines. If you want to display a string read from Mathematica in a Windows text control, the string needs to have newlines in the \r\n Windows convention. This method reads the string and converts to the Windows newline convention.


Exception Type Condition
MathLinkException If the waiting data cannot be read in this format, or on any other MathLink error.

See Also

IMathLink Interface | Wolfram.NETLink Namespace | GetString