Example

// set up PS
ECLPS ps = new ECLPS('A');
 
// do the wait
BOOL waitOK = ps.WaitWhileAttrib(10, 16, 0xE0, 0xFF, FieldPlane, INFINITE, FALSE);
 
// do the processing for when the screen goes away