Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

%include <filename>

%ECF_INCLUDE%/filename directory is searched for the filename and the contents included into the output. If that variable is not defined ECF_HOME is used instead. This is the recommended format for include.

%include "filename"

Include the contents of file %ECF_HOME%/%SUITE%/%FAMILY%/filename into the output

%include filename

Include the contents of file filename into the output. Notice that since the $CWD of ecFlow can be anywhere, the only form that can be safely used must start with slash '/'.

%includeonce filenameInclude the contents of file filename into the output ONCE. if the filename is encountered again as %include or %includeonce, then it is ignored. Use the same rules as %include(<filename>,"filename") to locate the file.

%includenopp filename

Same as %include, but the file is not interpreted at all.This allows you to test the filename separately with ease.(Same three formats for filename as for plain %include.)

%comment

Remove all the lines from the output until a line with %end is found.

%manual

If creating a job-file remove all the lines from the output until a line with %end is found. If creating a manual page include all the lines until a line with %end is found.

%nopp

Stop the pre-processing until a line starting with %end is found. No interpretation of the text will be done (e.g. no variable substitutions)
Line is retained, if pre-processing is requested by ecflowview

%end

End processing of %comment or %manual or %nopp

%ecfmicro CHAR

Change the ECF_MICRO character to the character given. If set in an include file the effect is retained for the rest of the job (or until set again).
This does not change how ECF_FETCH or ECF_JOB_CMD work, they still use ECF_MICRO

...