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