Example
// set up PS
ECLPS ps = new ECLPS('A');
// do the wait
BOOL waitOK = ps.WaitForString("LOGON");
// do the processing for the screen
// set up PS
ECLPS ps = new ECLPS('A');
// do the wait
BOOL waitOK = ps.WaitForString("LOGON");
// do the processing for the screen