Handles

From Flowcode Help
Jump to navigationJump to search

An object handle is used to reference a more complicated piece of data (such as a file, Flowcode component or block of text) whose internal format is not known. Flowcode provides many simulation macros that use handles to easily pass data around.


In an embedded context, a handle can be thought of as a pointer to memory, except Flowcode manages the handles so referencing a non-existent handle will not cause any fatal errors.


A handle value of zero is considered null and invalid to Flowcode.


The handle variable type can be used with the tree simulation macros to allow things like stepping through the component tree.