Print()

<< Click to Display Table of Contents >>

Navigation:  Explain™ Control Language  > Library Routines > Input and Output functions >

Print()

Description

Print one or more values to the output file.

 

Only the primitive data types (REAL, INDEX, STRING, BOOL, and BITS) print usable values. For example:

 

ExpNo = 5

Print("Experiment No.", ExpNo)

 

prints

 

Experiment No.5

 

in the output file.

 

Type

REGULAR FUNCTION

 

Usage

Print(Value, ...)

 

Value

any type

The value(s) to be printed.

BOOL

"T" or "F".

INDEX

Integer value, no leading zeros. Negative sign if required.

REAL

General format. E-notation for very large or small numbers.

BITS

Hexadecimal preceded by 0x. No leading zeros.

STRING

String value up to terminating null character.

NIL

"NIL"

 

Related Topics