Using Flag Variables

When creating flag variables, use these guidelines:

  • Any true-or-false flag used must be a Boolean type (BOOL).

  • Name the flag variable to answer a question of TRUE or FALSE.

These are examples of flag variables, with a brief description of how each is used:

Flag Variable

Description

bIsMemoryAllocated

Apply to memory allocation

bIsLinkListEmpty

Link List