Next: 10 Data types *REVIEW*
Up: QScheme Documentation
Previous: 8 Foreign function interface
  Contents
Subsections
-
- qscheme [options] [file] [-] [argument ...]
- -hs=N -heap-size=N
- the heap block size.
The number of objects that can be stored in a heap block is N*1024,
and the number of block heaps we can use is only limited by the virtual memory
of the computer.
- -ds=N -stack-size=N
- the stack size. The
number of object references that can be stored on the stack. N is a number
of kilobytes.
- -ni -no-init
- do not read the initial file.
- -i -interractive
- Force interactive mode. If file
are specified, they are loaded first.
- Note:
- The heap block size does not seem to have big impact on then performance
yet. The default value is 32k now which seems to be a good value.
During the initialization of QScheme, the interpreter tries to load a file named
s.scm. The initialization file will be looked for in the following
directories:
- in the current directory
- in the directories designated by the QS_LIB environment variable.
You can specify as many directories as you want by just delimiting them with
the ':' character. For example:
-
- QS_LIB=/usr/local/share/qscheme:$HOME/qscheme
export QS_LIB
The search order is as indicated above.
You can also use QScheme in a standard Unix script context. For example
-
- #!/usr/local/bin/qscheme -ni -ds=128
(display "Hello world")
(newline)
will produce the expected outpout:
-
- Hello world
Easy, isn't it...
Next: 10 Data types *REVIEW*
Up: QScheme Documentation
Previous: 8 Foreign function interface
  Contents
Daniel Crettol
2000-06-12