MARSHAL

From HEWIKI
Jump to: navigation, search

MARSHAL <value> to <result>

Arguments

<value> 
Any expression that produces a value suitable for marshaling.
<result> 
A string variable or field to hold the result.

Description

The purpose of marshaling is to convert a value into a form that can be transmitted. At the receiving end, it is unmarshaled back into the regular type. See Marshaling. This command is most useful for compound types such as list and class.

This does not replace the external functions for marshaling nodes. In fact, attempting to use this command with a NodeRef will not compile.

See also

Example

 function sendListOfStuff(stuff as list of class Sample)
   rmc as class RemoteCallOut
   marshal stuff to rmc.args["list"]
   ...
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox