;A Quick Interactive d/BASIC calculator and evaluator
title QCALC
H _
U !
_QCALC_ is an extremely powerful _d_/_BASIC_ expression evaluator.
It can be used as a simple calculator or a full _d_/_BASIC_ expression
evaluator.
_Numeric_ expressions and/or _String_ expressions can be evaluated.
To evaluate string expressions preceed all input with a _$_.
Example:
>_$parse("A B C D")_
_QCALC_ supports its own variable structure. Variables that may be
used on expressions are named with a single letter optionally followed
by a number from _0_ to _1023_. Letter case is ignored.
Numeric variables are specified by the use of a letter.
Example:
_A0_
_Z120_
\
String variables are specified by the use of a _$_ after the letter
variable.
Example:
_A$1_
_z$120_
String variables may be up to _32_ characters in length.
_QCALC_ stores up to _10_ lines of retrievable input. Previous input
lines can recalled by pressing the _up_ (^K) or _down_ (^J) arrows.
_QCALC_ uses the _d_/_BASIC_ _EVAL_ and _SEVAL_ functions to perform
all evaluations. Therefore _QCALC_ will evaluate most _d_/_BASIC_
expressions. Example:
>_a = 123456+654321_
>_if a > 10 then b = 25 else c = 50_
>_$ljust$("AMUS", 20)_
>_juliantodate(2448528)_
\
_QCALC_ also some options that can be set or toggled. The option
window can be displayed by pressing the _F7_ function key.
_Turn BASE Display ON/OFF_
_Octal_, _Hex_ and _Binary_ bases are usually displayed for all
NUMERIC evaluations. Selecting this option from the option
window will toggle the base display _on_ or _off_.
_Set all input for NUMERICS or STRINGS_
Normally all input is evaluated as a _numeric_ expression unless
preceeded by a _$_ which will then evaluate the expression as
a _string_. Selecting this option from the option window will
toggle between NUMERIC and STRING mode. In _NUMERIC_ mode all
input will be accepted as a numeric expression unless preceeded
by the _$_. In _STRING_ mode all expressions will be evaluated
as a STRING and the _$_ is not required before the expression
to be evaluated.
\
_Normal Display for Bases_