private static IodineObject AttributeOff(VirtualMachine vm, IodineObject self, IodineObject[] args) { if (args.Length == 0) { vm.RaiseException(new IodineArgumentException(1)); return(null); } AttributeWrapper attrWrapper = args [0] as AttributeWrapper; if (attrWrapper == null) { vm.RaiseException(new IodineTypeException("TerminalAttribute")); return(null); } TerminalAttributes attr = attrWrapper.Value; activeTerminal.AttributesOff(attr); return(null); }