Combine

From Mesham

Jump to: navigation, search

Syntax

%combine [sourcefile]

Semantics

Will read in the Mesham source file specified and will automatically put it all into the program at the point combine was in the source, before the source code of the original file.

Example

%combine a.mesh
%combine b.mesh

After preprocessing the file will look like the contents of a.mesh, followed by b.mesh and then the code in the file. Mesham will look in the current directory for the files, but extra directories can be specified by arguments to the preprocessor.

Personal tools