From GridLAB-D Wiki
Jump to: navigation, search

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

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

GLM

#ifndef variable
// conditional block
#endif

See also