[#CScript-GetOp-07af]
= xref:CScript.adoc[CScript]::GetOp
:relfileprefix: ../
:mrdocs:

Reads the next opcode, ignoring any pushed data&period;

== Synopsis

Declared in `&lt;script&sol;script&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
GetOp(
    xref:prevector-0c.adoc[const&lowbar;iterator]& pc,
    xref:opcodetype.adoc[opcodetype]& opcodeRet) const;
----

== Return Value

true if an opcode was read successfully&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *pc*
| In&sol;out iterator advanced past the opcode&period;
| *opcodeRet*
| Set to the opcode that was read&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
