Titan



encvalue


This built-in function is used to encode its argument into a bitstring.

Related keywords:


encvalue( value_part ) return bitstring;


Example:

type float MyFloat with { encode "RAW" }

var MyFloat f := 1.1;

var bitstring bs := encvalue(f);

This will store the "RAW" encoded form of the float value 1.1 into the bitstring variable bs.



BNF definition of encvalue