From GridLAB-D Wiki
Jump to: navigation, search

The #ifexist macro is used to conditionally execute a block of GLM code only if the specified file can be found in the GridLAB-D search path specified by GLPATH.

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

GLM

#ifexist filename
// conditional block
#endif

See also