In Turbo Pascal - Keithley KM-488-DD Manual

Ieee-488 interface board
Table of Contents

Advertisement

Using the File I/O Commands
KM-488-DD Programming
Guide
4.4
IN TURBO PASCAL
Driver
Configuration
Versions
Supported
Preparing ihe
Environment
EOLIN
- CRLF
EOLOUT
-CRLF
FILL - ERROR
Turbo PASCAL versions 4.0 and higher
To use these supplied functions in
the
file fEEEIO.PAS, you should
include the statement USES IEEE10
; in your application program.
This statement tells
the TURBO
PASCAL compiler to include the code in
the IEEEIO.TPU module in the following form:
PRcGRAMtdmaf
;
USES ort,
dos,
IeeeIO
: (* Version
4.0 Users
replace
IEEEI~
with
IEmIav4
*)
(Note that several of the example programs used the CRT and DOS units
supplied with TURBO PASCAL).
Users of version 4.0 of TURBO PASCAL should 'USES the unit
IEEEIOV4.TPU, rather than ieeeio.tpu which is intended for users of Ver-
sion 5.0 and above. The .TPU file format is different for these two ver-
sions of TURBO PASCAL, although the source code used to create the
two .TPU modules is identical. To create the file IEEEIO.TPU from the
source file IEEEIO.PAS, type the following compiler statement:
TPC IEEEIO.PAS
[Enter)
This statement will work for both versions of TURBO PASCAL, and in
each case will create a file called IEEEIO.TPU. The version 4.0
IEEEIO.TPU was renamed to IEEEIOV4.TPU for the sake of clarity.
To create an executable MYPROG.EXE, type:
TPC MYPROG.PAG (Enter)
4-20

Advertisement

Table of Contents
loading

Table of Contents