public override object Execute(object[] Parameters) { if (Parameters[0] is JSONTable) { JSONTable table = Parameters[0] as JSONTable; table.Open(); } else { //TODO: throw error: incorrect type Error.ThrowRuntimeError("OPEN", "Table is required."); } return(null); }