AMX NETLINX PROGRAMMING LANGUAGE Manual page 234

Programming language
Table of Contents

Advertisement

Appendix A: Marshalling Protocol
Types Supported in the XML Marshaller (Cont.)
DOUBLE
STRUCT
ARRAY
Array -
String
encoding
(Strings)
218
8-byte IEEE 754 float value. If var is an element of an
array, name is replaced with <index></index>. The
index value, and the type are optional. Typically, only
<var><data>Data</data></var> is needed.
A structure containing one or more fields. Each ele-
ment within a structure is self-descriptive and can be
any of the types in this table. If the struct is the outer-
most parent, then name is optional. If struct is an ele-
ment of an array, name is replaced with
<index></index> and the index value.
Array of any one of the types in this table. Each ele-
ment in an array is self-descriptive. The type of the
parent is the type of the entire array. Type is optional
and generally not included when the array is an array
of structures. Current Length is optional. Array can
contain a series of items, a series of structures or a
series of array. Elements of an array should define an
index instead of a name. This is the commonly used
format for structures but all types are allowed.
Array of unsigned characters. Data is encoded using
String encoding. Type and length are optional.
<var>
<name>MyName</name>
<type>float.IEEE.754.64</type>
<data>4.56</data>
</var>
<struct>
<name><MyName></name>
<var>...
</var>
</struct>
<array>
<name><MyName></name>
<type>Type</type>
<curLength>100</curLength>
<var>
<index>1</index>...
</var></array>
...or...
<array>
<name><MyName></name>
<type>Type</type>
<curLength>100</curLength>
<struct>
<index>1</index>...
</struct>
</array>
... or...
<array>
<name><MyName></name>
<type>Type</type>
<curLength>100</curLength>
<array>
<index>1</index>...
</array>
</array>
<array>
<name><MyName></name>
<type>Type</type>
<curLength>100</curLength>
<string>MyString</string>
</array>
NetLinx Programming Language Reference Guide

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netlinx studio 2

Table of Contents