2.1.1.5 out_str


Description

a simple function to print a string, output will be the current output window, can be the Script Window, the output log or the labtalk console.

Syntax

int out_str( LPCSTR lpcstr )

Parameters

lpcstr

Return

the number of characters printed

Examples

EX1

void out_str_ex1()
{
    string str = "test";
    out_str(str);
}

Remark

function will auto set focus to next line after output, "\r\n" is auto added in the end

See Also

out_double, out_int

Header to Include

origin.h

Reference