company logo

BaseContext :: state2 - Context state2 property

The context state2() can be set to any 16-bit integer value. Context states are not used by the system but are reserved for the application.

Return value:  Context state ( int16  )

The meaning of context states is defined by the application. The valid range for context states is from -32,768 to 32,767 (16 bit).

Implementation overview

Implementation details

  1. Get context state
    int16 BaseContext  :: state2 (  )

    The function returns the value for current context state,

  2. to list
  3. Set context state value
    int16 BaseContext  :: state2 ( int16 iContextState )

    The function sets the context state to the value passed in iUserState.

    • iContextState - Context state

      The meaning of context states is defined by the application. The valid range for context states is from -32,768 to 32,767 (16 bit).

  4. to list