SUMMARY: MODULE | CLASS | TYPE | PROC | VAR | CONST | DETAIL: TYPE | PROC | VAR | CONST

# Err

### Import List

        Object
        Object
        StdChannels
        TextRider

Procedure Summary
Bool(BOOLEAN)
Char(CHAR)
ClearError()
Done(): BOOLEAN Returns TRUE if the last operation was successful.
Flush() Flushes all buffers associated with writer.
Hex(LONGINT, LONGINT)
Int(LONGINT, LONGINT)
Ln()
LongInt(LONGINT, LONGINT)
LongReal(LONGREAL, LONGINT, LONGINT) Write lreal with k significant digits and right-justified in a field of width n.
LongRealEng(LONGREAL, LONGINT, LONGINT) As LongReal, except that the exponent is always a multiple of 3 and there are 1 to 3 digits to the left of the decimal point.
LongRealFix(LONGREAL, LONGINT, LONGINT) Write lreal rounded to k digits relative to the decimal point and right-justified in a field of width n.
Object(Object)
Real(REAL, LONGINT, LONGINT) As LongReal.
RealEng(REAL, LONGINT, LONGINT) As LongRealEng.
RealFix(REAL, LONGINT, LONGINT) As LongRealFix.
Set(SET)
SetWriter(Writer)
ShortInt(SHORTINT, LONGINT)
String(ARRAY OF CHAR)

Variable Summary
writer-: Writer This is the rider used by the output procedures.

Procedure Detail

### Bool

    PROCEDURE Bool(bool: BOOLEAN)

### Char

    PROCEDURE Char(ch: CHAR)

### ClearError

    PROCEDURE ClearError()

### Done

    PROCEDURE Done(): BOOLEAN

> Returns TRUE if the last operation was successful.

### Flush

    PROCEDURE Flush()

> Flushes all buffers associated with writer.

### Hex

    PROCEDURE Hex(lint: LONGINT;
                  n: LONGINT)

### Int

    PROCEDURE Int(int: LONGINT;
                  n: LONGINT)

### Ln

    PROCEDURE Ln()

### LongInt

    PROCEDURE LongInt(lint: LONGINT;
                      n: LONGINT)

### LongReal

    PROCEDURE LongReal(lreal: LONGREAL;
                       n: LONGINT;
                       k: LONGINT)

> Write lreal with k significant digits and right-justified in a field of width n.

### LongRealEng

    PROCEDURE LongRealEng(lreal: LONGREAL;
                          n: LONGINT;
                          k: LONGINT)

> As LongReal, except that the exponent is always a multiple of 3 and there are 1 to 3 digits to the left of the decimal point.

### LongRealFix

    PROCEDURE LongRealFix(lreal: LONGREAL;
                          n: LONGINT;
                          k: LONGINT)

> Write lreal rounded to k digits relative to the decimal point and right-justified in a field of width n. Negative values of k round to the left of the decimal point and positive k round to the right of the decimal point.

### Object

    PROCEDURE Object(obj: Object)

### Real

    PROCEDURE Real(real: REAL;
                   n: LONGINT;
                   k: LONGINT)

> As LongReal.

### RealEng

    PROCEDURE RealEng(real: REAL;
                      n: LONGINT;
                      k: LONGINT)

> As LongRealEng.

### RealFix

    PROCEDURE RealFix(real: REAL;
                      n: LONGINT;
                      k: LONGINT)

> As LongRealFix.

### Set

    PROCEDURE Set(s: SET)

### SetWriter

    PROCEDURE SetWriter(w: Writer)

### ShortInt

    PROCEDURE ShortInt(sint: SHORTINT;
                       n: LONGINT)

### String

    PROCEDURE String(s: ARRAY OF CHAR)

Variable Detail

### writer

    VAR writer-: Writer

> This is the rider used by the output procedures. It is initialized to hold a text writer to the channel StdChannels.stderr. This can be changed by calling SetWriter.