Text - Canon Cat Reference Manual

Hide thumbs Also See for Cat:
Table of Contents

Advertisement

How Calculation-in-Context Works
[CALC]
evaluates
calculations throughout
the
text. Ifthe
highlight
is
not
extended,
a
single use
of
ICALC]
re-
evaluates
all
the expressions
in
the
entire
text.
This re-
evaluation
is
called
recalc. While
recalc is taking
place,
the
cursor
stops
flashing
and the
CALC
sign
appears
on
the
ruler.
Ifyou
have
a
large
text
with
a
lot
ofcalculations,
a
recalc
may take
some
time, but
it
can be
intemrpted
by pressing
any
key.
This
causes
a
beep.
[EXPLAIN] says
that
the
calculation
was
interrupted
and
consequently
your
results
may
be
incorrect. It
also explains that
you may
complete
the
calculation
by
using
[cALc]
again
without
extending
the
highlight.
When
you give
[CALC], one
or
more
of
the following
actions
takes
place, depending
on
whether the
highlight
is
extended,
where
the highlight
is
located, and what
is
contained
in
the
highlight:
Recalc
Ifthe
highlight
is
not
extended
and
is
on
ordinary
text
or an
unpocketed result (unpocketed
means an expression
has
been
taken
out
of its
pocket
and made
visible on
the
screen),
the Cat
re-evaluates
all
the
expressions
in
the
entire
text.
All
unpocketed expressions
will
automatically
be
pocketed
(see
automatic pocketing below).
Unpocketing
If
the
highlight
is on
a
pocketed result
and is
not extended,
the expression associated
with
that result
is
unpocketed,
that is,
brought
out
of
its pocket and inserted
into
the
text
after the
result.
It
will
have
a dotted underline. An
underscore
separates
the result
from
the
unpocketed
ex-
pression.
Pressing
both
LEAP keys
will
highlight
the
unpocketed expression
so
it
can
quickly
be
erased.
Pocketing
Ifthe highlight
is
extended,
and
there
are
no results
inside
the
highlight,
the Cat
attempts
to
calculate the
text
and
pocket
it. Ifthe
text
cannot
be
calculated
the Cat
beeps,
and
the
highlight
collapses
on
the
first
part
of
the
expression
that the Cat
could not
understand.
Multiple
pocketing
You
can pocket more than one
expression
at a
time,
providing
the
expressions that
you're pocketing
are sepa-
rated
by
a
break character
or a
tab.
Highlight all
the
expressions, then use
[CALC].
[CALC]
will
process them
one
after another
from
the
beginning to
the
end,
pocketing
them
in
sequence
as
it
goes.
The extended
highlight must
contain
only
expressions, break characters and
tabs.

Advertisement

Table of Contents
loading

Table of Contents