Difference between revisions of "RPC HELP M Entry Input Parameters"

From VistApedia
Jump to: navigation, search
(Created page with " RPC Broker Help Home <H2>Input Parameters (Optional)</H2> The M entry point for an RPC can optionally have input parameters (i.e., beyond the first parame...")
 
 
Line 6: Line 6:
  
 
* '''Param PType''' -- '''Param Value'''
 
* '''Param PType''' -- '''Param Value'''
* '''literal''' -- Delphi string value, passed as a string literal to the VistA M Server.
+
** '''LITERAL''' -- Delphi string value, passed as a string literal to the VistA M Server.
reference Delphi string value, treated on the VistA M Server as an M variable name and resolved from the symbol table at the time the RPC executes.
+
** '''REFERENCE''' -- Delphi string value, treated on the VistA M Server as an M variable name and resolved from the symbol table at the time the RPC executes.
* '''list''' -- A single-dimensional array of strings in the [[RPC_HELP_TParamRecord_Mult_Property|Mult]] property of the [[RPC_HELP_TRPCBroker_Param|Param]] property, passed to the VistA M Server where it is placed in an array. String subscripting can be used.
+
** '''LIST''' -- A single-dimensional array of strings in the [[RPC_HELP_TParamRecord_Mult_Property|Mult]] property of the [[RPC_HELP_TRPCBroker_Param|Param]] property, passed to the VistA M Server where it is placed in an array. String subscripting can be used.
 
 
  
 
The type of the input parameters passed in the [[RPC_HELP_TRPCBroker_Param|Param]] property of the [[RPC_HELP_TRPCBroker|TRPCBroker]] component determines the format of the data you must be prepared to receive in your M entry point.
 
The type of the input parameters passed in the [[RPC_HELP_TRPCBroker_Param|Param]] property of the [[RPC_HELP_TRPCBroker|TRPCBroker]] component determines the format of the data you must be prepared to receive in your M entry point.

Latest revision as of 18:59, 15 July 2015

RPC Broker Help Home

Input Parameters (Optional)

The M entry point for an RPC can optionally have input parameters (i.e., beyond the first parameter, which is always used to return an output value). The client passes data to your M entry point through these parameters.

The client can send data to an RPC (and therefore your entry point) in one of the following three Param types:

  • Param PType -- Param Value
    • LITERAL -- Delphi string value, passed as a string literal to the VistA M Server.
    • REFERENCE -- Delphi string value, treated on the VistA M Server as an M variable name and resolved from the symbol table at the time the RPC executes.
    • LIST -- A single-dimensional array of strings in the Mult property of the Param property, passed to the VistA M Server where it is placed in an array. String subscripting can be used.


The type of the input parameters passed in the Param property of the TRPCBroker component determines the format of the data you must be prepared to receive in your M entry point.