[#RPCArgOptions-also_positional]
= xref:RPCArgOptions.adoc[RPCArgOptions]::also&lowbar;positional
:relfileprefix: ../
:mrdocs:

If set allows a named&hyphen;parameter field in an OBJ&lowbar;NAMED&lowbar;PARAM options object to have the same name as a top&hyphen;level parameter&period; By default the RPC framework disallows this, because if an RPC request passes the value by name, it is assigned to top&hyphen;level parameter position, not to the options position, defeating the purpose of using OBJ&lowbar;NAMED&lowbar;PARAMS instead OBJ for that option&period; But sometimes it makes sense to allow less&hyphen;commonly used options to be passed by name only, and more commonly used options to be passed by name or position, so the RPC framework allows this as long as methods set the also&lowbar;positional flag and read values from both positions&period;

== Synopsis

Declared in `&lt;rpc&sol;util&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool also&lowbar;positional = &lcub;false&rcub;;
----


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