Ifexist

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 =

// conditional block
 * 1) ifexist filename
 * 1) endif

= See also =


 * #endif macro
 * Global variables
 * GLPATH
 * Macros