Perform Clipboard Operations

? tab(-10, AG_CLIPBOARD); opcode; ","; srow; ","; scol; ","; erow; ","; ecol; ","; rtnflag; ","; text; chr(127);

See MX_CLIPBOARD for descriptions of the parameters (except rtnflag).

rtnflag should be set to 1 if the operation is to return data or status. In the case of opcodes 0 and 2 (retrieve clipboard contents), the returned data are those contents. In the case of other opcodes, it can return the stauts code (as defined for MX_CLIPBOARD).