Go to the first, previous, next, last section, table of contents.

Running Image Files

You can invoke Gforth with an image file image instead of the default `gforth.fi' with the -i flag (see section Invoking Gforth):

gforth -i image

If your operating system supports starting scripts with a line of the form #! ..., you can make your image file executable, and you'll just have to type the image file name to start Gforth with this image file (note that the file extension .fi is just a convention).

I.e., in most Unix systems, you just have to make the image file image executable with

chmod +x image

and then you can invoke it by simply typing image instead of gforth -i image.


Go to the first, previous, next, last section, table of contents.