From GridLAB-D Wiki
Jump to: navigation, search

The #ifdef macro is used to conditionally execute a block of GLM code only if the variable used is defined.

Each #ifdef macro must have a correspond #endif macro matching it in the same GLM file.

GLM

#ifdef variable
// conditional block
#endif

See also