[#CScript-GetOp-07a4] = xref:CScript.adoc[CScript]::GetOp :relfileprefix: ../ :mrdocs: Reads the next opcode and its pushed data. == Synopsis Declared in `<script/script.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool GetOp( xref:prevector-01/const_iterator.adoc[const_iterator]& pc, xref:opcodetype.adoc[opcodetype]& opcodeRet, std::vector<unsigned char>& vchRet) const; ---- == Return Value true if an opcode was read successfully. == Parameters [cols="1,4"] |=== | Name| Description | *pc* | In/out iterator advanced past the opcode. | *opcodeRet* | Set to the opcode that was read. | *vchRet* | Set to the data pushed by the opcode. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#