2.2.3.15.41 string::Write

Description

This member function outputs the string.

Syntax

void Write( int iDestination )

Parameters

iDestination
[input]one of enum {WRITE_SCRIPT_WINDOW, WRITE_STATUS_BAR, WRITE_OUTPUT_LOG, WRITE_MESSAGE_BOX, WRITE_COMPILER_OUTPUT};

Return

None.

Examples

EX1

void string_Write_ex1()
{
    string str="Hello World";
    str.Write(WRITE_SCRIPT_WINDOW); 	//Hello World typed out to script window
    str.Write(WRITE_OUTPUT_LOG);  		//Hello World typed out to the Results Log
    str.Write(WRITE_STATUS_BAR);		//Hello World typed out to status bar
    str.Write(WRITE_MESSAGE_BOX);		//Hello World typed out to Message box
    str.Write(WRITE_COMPILER_OUTPUT);	//Hello World typed out to compiler output
}

Remark

This member function outputs the string.

See Also

string::WriteLine

Header to Include

origin.h