[Fluent Inc. Logo] return to home search
next up previous contents index

4.8 Reading Scheme Source Files

A Scheme source file can be loaded in three ways: through the menu system as a scheme file, through the menu system as a journal file, or through Scheme itself.

For large source files, use the Select File dialog box invoked by selecting the File/Read/Scheme... menu item

File $\rightarrow$ Read $\rightarrow$ Scheme...

or the Scheme load function.

> (load "file.scm")

Shorter files can also be loaded with the File/Read/Journal... menu item or the file/ read-journal command in the text interface (or its . or source alias).

> . file.scm

> source file.scm

In this case, each character of the file is echoed to the console as it is read in the same way as if you were typing in the contents of the file.


next up previous contents index Previous: 4.7 Writing a Boundary
Up: 4. Reading and Writing
Next: 4.9 Creating and Reading
© Fluent Inc. 2006-09-20