NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
int UnflattenVar ( string  str,
variant &  x 
)
inline

Unflatten a string into a data type.

Convert a string containing the byte representation of the specified variable back into the original variable type.

See Also
FlattenVar, Flatten
Parameters
strA string containing flattened data.
xA variable reference where the unflattened data is stored.
Returns
A boolean value indicating whether the operation succeeded or not.
Examples:
ex_FlattenVar.nxc, ex_RS485Receive.nxc, ex_string.nxc, and ex_UnflattenVar.nxc.