
 SWIModule
~~~~~~~~~~~
Program		SWIModule
Purpose		This provides a single * command for running SWIs from the
		command line
Version		1.00, 1993
Author		Jens H. Ovesen
Copyright	(C) Jens H. Ovesen 1993


 About
=======

The SWI module is (C) Jens H. Ovesen 1993 and is distributed with Director
with permission.

This provides a single * command for running SWIs from the command line.


 Syntax
========

*SWI <expression> [<expression>]^ [TO <variable>[ <variable>]^ [;<variable>]]

Where:
    <expression>
        is a string that is OS_GSTrans'ed before it's read. If it has "" around
        it or it can't be read as a number, it's expected to be a string.
        Otherwise it's read as a number value.

    <variable>
        is a system variable. If a '$' is found in <variable>, the register is
        expected to be a pointer to a string, and the system variable
        will be created as a String type from that register. Otherwise it will
        be created as a Number type.

Please be aware that the machine may hang up if you don't know what you're
doing.


 Examples
==========

  *SWI "OS_ReadLine" "12345678901" 10 32 126 to input$ length
  *SWI XOS_CLI "cat $" to ;flags
  *SWI <my$swi> <my$param> to my$output ; flags
