<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://vistapedia.com/index.php?action=history&amp;feed=atom&amp;title=RPC_HELP_TRPCBroker_Param</id>
	<title>RPC HELP TRPCBroker Param - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://vistapedia.com/index.php?action=history&amp;feed=atom&amp;title=RPC_HELP_TRPCBroker_Param"/>
	<link rel="alternate" type="text/html" href="https://vistapedia.com/index.php?title=RPC_HELP_TRPCBroker_Param&amp;action=history"/>
	<updated>2026-05-03T02:01:59Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://vistapedia.com/index.php?title=RPC_HELP_TRPCBroker_Param&amp;diff=16582&amp;oldid=prev</id>
		<title>Kdtop at 17:56, 4 July 2015</title>
		<link rel="alternate" type="text/html" href="https://vistapedia.com/index.php?title=RPC_HELP_TRPCBroker_Param&amp;diff=16582&amp;oldid=prev"/>
		<updated>2015-07-04T17:56:23Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:56, 4 July 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;h2&amp;gt;Param Property&amp;lt;/h2&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;h2&amp;gt;Param Property&amp;lt;/h2&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Example&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[RPC_HELP_TRPCBroker_Param_Example|&lt;/ins&gt;Example&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;h3&amp;gt;Applies to&amp;lt;/h3&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;h3&amp;gt;Applies to&amp;lt;/h3&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Kdtop</name></author>
	</entry>
	<entry>
		<id>https://vistapedia.com/index.php?title=RPC_HELP_TRPCBroker_Param&amp;diff=16581&amp;oldid=prev</id>
		<title>Kdtop: Created page with &quot;&lt;h2&gt;Param Property&lt;/h2&gt; Example  &lt;h3&gt;Applies to&lt;/h3&gt;     TRPCBroker component	  &lt;h3&gt;Declaration&lt;/h3&gt;     property Param: TParams; ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://vistapedia.com/index.php?title=RPC_HELP_TRPCBroker_Param&amp;diff=16581&amp;oldid=prev"/>
		<updated>2015-07-04T17:55:28Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;h2&amp;gt;Param Property&amp;lt;/h2&amp;gt; Example  &amp;lt;h3&amp;gt;Applies to&amp;lt;/h3&amp;gt;     &lt;a href=&quot;/index.php/RPC_HELP_TRPCBroker&quot; title=&quot;RPC HELP TRPCBroker&quot;&gt;TRPCBroker&lt;/a&gt; component	  &amp;lt;h3&amp;gt;Declaration&amp;lt;/h3&amp;gt;     property Param: &lt;a href=&quot;/index.php/RPC_HELP_TParams&quot; title=&quot;RPC HELP TParams&quot;&gt;TParams&lt;/a&gt;; ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;h2&amp;gt;Param Property&amp;lt;/h2&amp;gt;&lt;br /&gt;
Example&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Applies to&amp;lt;/h3&amp;gt;&lt;br /&gt;
    [[RPC_HELP_TRPCBroker|TRPCBroker]] component	&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Declaration&amp;lt;/h3&amp;gt;&lt;br /&gt;
    property Param: [[RPC_HELP_TParams|TParams]];&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Description&amp;lt;/h3&amp;gt;&lt;br /&gt;
The Param property is available at run-time only. It holds all of the parameters that the application needs to pass to the remote procedure using the [[RPC_HELP_TRPCBroker_Call_Method|Call]], [[RPC_HELP_TRPCBroker_strCall_Method|strCall]], or [[RPC_HELP_TRPCBroker_lstCall_Method|lstCall]] methods.&lt;br /&gt;
	&lt;br /&gt;
Param is a zero-based array of [[RPC_HELP_TParamRecord|TParamRecord]]. You don&amp;#039;t need to explicitly allocate any memory for the Param property. Simple reference to an element or a value assignment ( := ) dynamically allocates memory as needed. You should start with the 0th element and proceed in sequence. Do &amp;#039;&amp;#039;not&amp;#039;&amp;#039; skip elements.&lt;br /&gt;
&lt;br /&gt;
Each element in the Param array has the following properties:&lt;br /&gt;
* [[RPC_HELP_TParamRecord_Mult_Property|Mult]]&lt;br /&gt;
* [[RPC_HELP_TParamRecord_PType_Property|PType]]&lt;br /&gt;
* [[RPC_HELP_TParamRecord_PType_Property|PType]]&lt;br /&gt;
	&lt;br /&gt;
Passing multiple parameters of PType list in one remote procedure call ([[RPC_HELP_RPCs|RPC]]) is not supported at this time. Only one list parameter can be passed to an RPC, and it must be the last parameter in the actual list.&lt;br /&gt;
&lt;br /&gt;
The Param relationship to the [[RPC_HELP_TRPCBroker|TRPCBroker]] component is as follows:&lt;br /&gt;
* The [[RPC_HELP_TRPCBroker|TRPCBroker]] component contains the Param property (i.e., [[RPC_HELP_TParams|TParams]] class).&lt;br /&gt;
** The [[RPC_HELP_TParams|TParams]] class contains the ParamArray property (array [I:integer]: [[RPC_HELP_TParamRecord|TParamRecord]] class).&lt;br /&gt;
*** The [[RPC_HELP_TParamRecord|TParamRecord]] class contains the [[RPC_HELP_TParamRecord_Mult_Property|Mult]] property (i.e., [[RPC_HELP_TMult|TMult]] class).&lt;br /&gt;
**** The [[RPC_HELP_TMult|TMult]] class contains the MultArray property (array[S: string]: string).&lt;br /&gt;
***** The MultArray property internally uses a TStringList in which each element’s object is a TString.&lt;br /&gt;
	&lt;br /&gt;
If the remote procedure on the VistA M Server does not require any incoming parameters, applications can pass an empty Param property. The client application merely sets the [[RPC_HELP_TRPCBroker_RemoteProcedure|RemoteProcedure]] property and makes the call. If the Param property retains a value from a previous call, it can be cleared using the [[RPC_HELP_TRPCBroker_ClearParameters_Example|Example]] property. Thus, it is possible to make a call without passing any parameters.&lt;br /&gt;
&lt;br /&gt;
NOTE: The following restrictions apply with the Param property:&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;# You are not allowed to &amp;quot;skip&amp;quot; passing parameters, such as TAG^ROUTINE(1,,3), where you can skip passing the second parameter in DSM code. If you have fewer elements in your Param array than exist as input parameters in your RPC, the subsequent parameters will not be passed to the [[RPC_HELP_RPCs|RPC]].&lt;br /&gt;
# Passing multiple array parameters in one remote procedure call is not supported at this time. Only one array parameter can be passed to an [[RPC_HELP_RPCs|RPC]], and it must be the last parameter in the actual list.&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;	&lt;br /&gt;
NOTE: For a demonstration using the Param property, please run the BrokerExample.EXE located in the ..\BDK32\Samples\BrokerEx directory.&lt;/div&gt;</summary>
		<author><name>Kdtop</name></author>
	</entry>
</feed>