C Program Input; About The C Interpreter And Editor; Activating The C Mode - Casio FX-890P Owner's Manual

Casio personal computer owner's manual
Table of Contents

Advertisement

The few differences between the Casio interpreted C language and an ANSI
standard compiled C will be highlighted in this manual

6.2 C Program Input

6.2.1 About the C Interpreter and Editor

The unit provides you with both a C interpreter and editor. The interpreter is used to
execute programs. The editor is used for program creation and editing. Before getting
into the actual operations of the unit, perhaps it might be a good idea to first look at
these two functions in a little more detail.
About the C interpreter
There are two ways to process a C program: using a compiler or using an interpreter.
With the compiler, the program is first translated into machine language before it is
executed. This means that each time you write a program, all of the following
processes must be performed:
Program input → compiling → linking → execution.
With an interpreter, the program is entered and executed in the same environment,
for easier operation. The Casio unit features a C interpreter. After you enter the
program, all you have to do is enter the RUN command to execute it.
Throughout the rest of this manual, the C interpreter will be referred simply as an
"interpreter".
About the C editor
An editor can be used to write everything from a few lines to an entire program.
Unlike the interpreter in which simple writing cannot be performed easily, the editor
lets you easily modify and correct programs.
The C editor is for writing and modifying C programs. You should note, however, that
you cannot execute programs while in the C editor. You can only execute from the
interpreter.
Throughout the rest of this manual, the C editor will be referred simply as an "editor".

6.2.2 Activating the C mode

Besides the C mode, the unit also features calculator, formula, BASIC, CASL and
ASSEMBLER modes. Here, we will see how to select the C mode.
1. Switch the power of the unit ON.
The display indicates that the computer is in the CAL mode. This is the initial mode
when you switch the computer ON.
2. Press the MENU key.
MENU
_
< MENU >
1:F.COM 2:BASIC 3:C
5:ASMBL 6:FX
78
4:CASL
7:MODE

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Z-1grZ-1

Table of Contents