PackParms

(RPC Manager Library)

Description: This method packs supplied parameters into a stream. Subroutine call only.
Returns: Nothing
Usage: Script Only.
Function Groups: Network,  Stream and Socket
Related to: UnpackParms
Format: \RPCManager\PackParms(Stream [, P1, P2, …]);
Parameters:  
Stream
Required. The initial packed RPC stream. The parameters provided in parameters P1, P2, etc. will be packed and appended onto this stream. If Invalid, a new BuffStream will be created to hold the packed parameters.
P1, P2, …
Optional parameters that will be packed into the stream. Up to 100 parameters are allowed.
Comments: This subroutine is a member of the RPC Manager's Library, and must therefore be prefaced by \RPCManager\, as shown in the "Format" section. If the application you are developing is a script application, the subroutine call must be prefaced by System\RPCManager\, and the System variable must be declared in AppRoot.src.
The stream contents can be unpacked into variables using the UnpackParms method. The parameters can be any of the permitted RPC data types. If a parameter is provided which is other than one of those data types, an Invalid is packed in its place.

RPC Manager Service