Connecting to data blocks
FLC_HANDLE h = flc_open("name", size, magic,
mode_flag | type_flag);
- name: data block name
- size: size in bytes of data block
- magic: magic number
- flags: specify mode and type:
- FLC_MODE_READ : open data block for reading
- FLC_MODE_WRITE : open for writing
- FLC_TYPE_DOUBLE, FLC_TYPE_INT, etc:
specify data type
- FLC_TYPE_MIXED: anything else
- Flags combined with bitwise-OR operator (|)
- Scope always uses FLC_TYPE_DOUBLE
- name is the variable list name
without leading @ sign, all uppercase