http://www.ousob.com --- Legacy Redefined #include <stdio.h> #include <nwconn.h> #include <nit.h> #include <extend50.h> CLIPPER b_consoper() { int ccode; int retVal = 0; if( GetConnectionNumber() == 0 ){ _retl(retVal); return; } ccode = CheckConsolePrivileges(); _retl( (ccode == 0) ? 1 : 0 ); }