See the IF, CASE, IFERR, DO, and WHILE keyword entries for more information.

Access:

BRANCH IF/CASE/DO/WHILE END ( °is the left-shift of the Nkey).

Input/Output:

None

 

See also:

IF, CASE, DO, ELSE, IFERR, REPEAT, THEN, UNTIL, WHILE

ENDSUB

Command

 

Type:

 

Description:

Ending Sublist Command: Provides a way to access the total number of sublists contained in the

 

list used by DOSUBS.

 

 

Returns an Undefined Local Name error if executed when DOSUBS is not active.

Access:

LIST PROCEDURES ENDSUB

( °is the left-shift of the Nkey).

Input/Output:

None

 

Example:

The following program subtracts the number of elements in a list from each element in the list

 

« → a « a 1 « ENDSUB - » » DOSUBS »

See also:

DOSUBS, NSUB

 

 

 

 

 

ENG

Command

 

Type:

 

Description:

Engineering Mode Command: Sets the number display format to engineering mode, which

 

displays one to three digits to the left of the fraction mark (decimal point) and an exponent that is

 

a multiple of three. The total number of significant digits displayed is n + 1.

 

Engineering mode uses n + 1 significant digits, where 0 ≤ n ≤ 11. (Values for n outside this range

 

are rounded up or down.) A number is displayed or printed as follows:

 

 

(sign) mantissa E (sign) exponent

 

where the mantissa is of the form (nn)n.(n…) (with up to 12 digits total) and the exponent has one

 

to three digits.

 

 

A number with an exponent of –499 is displayed automatically in scientific mode.

Access:

!& H FMT ENG

 

 

!°LMODES FMT ENG

( °is the left-shift of the Nkey).

Input/Output:

 

 

 

 

 

 

 

 

 

Level 1/Argument 1

Level 1/Item 1

 

 

 

 

 

 

n

 

The number

 

Example:

103.6 in Engineering mode with five significant digits (n=4) would appear as

 

103.60E0. This same number with one significant digit (n=0) would appear as 100.E0.

See also:

FIX, SCI, STD

 

 

 

 

 

EPSX0

 

 

 

Type:

Function

 

Description:

Replaces all coefficients in a polynomial that have an absolute value less than that held in the

 

CASDIR variable EPS, with 0. The default value of EPS is 1E-10, which can be changed by

 

storing a new number in the variable EPS in the CASDIR directory; this must be less than 1.

Access:

Catalog, …µ

 

Input:

A polynomial.

 

Output:

The polynomial with conforming coefficients replaced with 0.

Flags:

Exact mode must be set (flag –105 clear).

 

 

Numeric mode must not be set (flag –3 clear).

 

3-74 Full Command and Function Reference