RPC HELP Mult Assign: Difference between revisions
From VistApedia
Jump to navigationJump to search
Created page with " RPC Broker Help Home <H2>Assign Method (TMult Class)</h2> Example <h3>Applies to</h3> TMult class <h3>Declaration</h3> procedure As..." |
No edit summary |
||
| Line 11: | Line 11: | ||
<h3>Description</h3> | <h3>Description</h3> | ||
The Assign method for a TMult class takes either a Tstrings, a TStringList, or another TMult. In the case where the source is a TMult, the owner of the Assign method gets the exact copy of the source with all string subscripts and values. In the case where the source is a Tstrings or a TStringList, the items are copied such that the strings property of each item becomes the Value, while the index becomes the subscript in the string form. | The Assign method for a [[RPC_HELP_TMult|TMult]] class takes either a Tstrings, a TStringList, or another [[RPC_HELP_TMult|TMult]]. In the case where the source is a [[RPC_HELP_TMult|TMult]], the owner of the Assign method gets the exact copy of the source with all string subscripts and values. In the case where the source is a Tstrings or a TStringList, the items are copied such that the strings property of each item becomes the Value, while the index becomes the subscript in the string form. | ||
NOTE: See RPC Limits for information about the size of parameters and results that can be passed to and returned from the TMult class. | NOTE: See [[RPC_HELP_RPC_Limits|RPC Limits]] for information about the size of parameters and results that can be passed to and returned from the TMult class. | ||
Revision as of 23:43, 3 July 2015
Assign Method (TMult Class)
Example
Applies to
TMult class
Declaration
procedure Assign(Source: TPersistent);
Description
The Assign method for a TMult class takes either a Tstrings, a TStringList, or another TMult. In the case where the source is a TMult, the owner of the Assign method gets the exact copy of the source with all string subscripts and values. In the case where the source is a Tstrings or a TStringList, the items are copied such that the strings property of each item becomes the Value, while the index becomes the subscript in the string form.
NOTE: See RPC Limits for information about the size of parameters and results that can be passed to and returned from the TMult class.