internal static void hide( Interp interp, Interp slaveInterp, int objIx, TclObject[] objv ) { if ( interp.isSafe ) { throw new TclException( interp, "permission denied: " + "safe interpreter cannot hide commands" ); } int nameIdx = objv.Length - objIx == 1 ? objIx : objIx + 1; try { slaveInterp.hideCommand( objv[objIx].ToString(), objv[nameIdx].ToString() ); } catch ( TclException e ) { interp.transferResult( slaveInterp, e.getCompletionCode() ); throw; } }