↑ Page supérieure ← Page précédente → Page suivante

GEOD

include

Including another script with the include command

The include command is used to include other scripts inside the main script.

GEOD allows other scripts to be included in the main script currently being edited.

This feature may be useful in two situations:

To do this, one uses the include command with the following syntax:

  include "..."

where ... must be replaced by the path of the script to include.

If the file path does not contain spaces, the double quotation marks may be omitted.

Example:

  include motifs/motifs.geo

or

  include "motifs/motifs.geo"

A relative path may also be used:

  include "../motifs/motifs.geo"