Phantom Documentation

[Help Home] [Phantom Home]
PrintMessage (Deprecated)
void PrintMessage(string)

Return Type: void
Parameters: string sMess

Description:
Displays a message on the screen. The message will be written to the DOS console for the DOS version, and to a window for the Windows (Phantom Test Driver, Phantom Sidekick) versions.

This does not write to any file and should not be confused with the Log or LogError functions.



Example Code
string Hello = "Hello kindly Phantom user";
PrintMessage(Hello);
 


Note: This function is included for compatibility with previous versions of Phantom. The 'disp' function in the Standard package should be used instead.




Copyright 2000-2011 Phantom Automated Solutions