home *** CD-ROM | disk | FTP | other *** search
- 6.4.6 Switch Statement
-
- The switch statement sets or changes the switch status. The
- switch status is unchanged in memory until the new switch status is
- assigned.
-
- ----------------------------------------------------------------------
- Switch Action
-
- lowercase=on convert letters into the lower-case letters.
- lowercase=off not convert letters into the lower-case letters,
- this is default.
-
- output=basic output form is BASIC format, this is default.
- output=fortran output form is FORTRAN format.
- output=prolog output form is Prolog format (internal form).
- output=twodim output form is two dimension.
- output=off not display output.
- output=on the same as ouput=basic
-
- numerical=on convert numbers to floating-point numbers.
- numerical=off not convert numbers to floating-point numbers,
- this is default.
-
- expand=on expansion. e.g. c*(a+b) to c*a+c*b.
- expand=off disable expansion, this is default.
-
- expexpand=on exponent expansion. e.g. c^(a+b) to c^a*c^b.
- expexpand=off disable exponent expansion, this is default.
-
- lnexpand=on log expand, e.g. ln(a*b) to ln(a)+ln(b)
- lnexpand=off disable log expansion, this is default.
- ----------------------------------------------------------------------
-
- When the switch lowercase = on, all letters are converted into
- the lower-case letters so the upper- and lower- case letters are the
- same, e.g. EXP(x) is the same as exp(x).
- When the output is written to a disk file, it is recommended
- to set the switch output=basic.
-