Module Interface Log

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

# Log

### Import List

        Object
        Object
        StdChannels
        TextRider

Procedure Summary
Adr(ARRAY OF CHAR, VAR ARRAY OF BYTE)
Bool(ARRAY OF CHAR, BOOLEAN)
Char(ARRAY OF CHAR, CHAR)
ClearError()
Done(): BOOLEAN Returns TRUE if the last operation was successful.
Flush() Flushes all buffers associated with writer.
Hex(ARRAY OF CHAR, LONGINT)
Int(ARRAY OF CHAR, INTEGER)
LString(ARRAY OF CHAR, ARRAY OF LONGCHAR) Very primitive LONGCHAR output.
Ln()
LongInt(ARRAY OF CHAR, LONGINT)
LongReal(ARRAY OF CHAR, LONGREAL)
LongRealEng(LONGREAL)
Msg(ARRAY OF CHAR)
Object(ARRAY OF CHAR, Object)
Ptr(ARRAY OF CHAR, PTR)
Real(ARRAY OF CHAR, REAL)
RealEng(REAL)
Set(ARRAY OF CHAR, SET)
SetWriter(Writer)
ShortInt(ARRAY OF CHAR, SHORTINT)
String(ARRAY OF CHAR, ARRAY OF CHAR)
Type(ARRAY OF CHAR, PTR)

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

Procedure Detail

### Adr

    PROCEDURE Adr(msg: ARRAY OF CHAR;
                  VAR x: ARRAY OF BYTE)

### Bool

    PROCEDURE Bool(msg: ARRAY OF CHAR;
                   bool: BOOLEAN)

### Char

    PROCEDURE Char(msg: ARRAY OF 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(msg: ARRAY OF CHAR;
                  lint: LONGINT)

### Int

    PROCEDURE Int(msg: ARRAY OF CHAR;
                  int: INTEGER)

### LString

    PROCEDURE LString(msg: ARRAY OF CHAR;
                      s: ARRAY OF LONGCHAR)

> Very primitive LONGCHAR output. The procedure writes a string of SHORTed characters. If a character cannot be shorted, it is replaced by the character ``?`'. In the future, this may be changed to UTF-8 output. Use at your own risk!

> As it is, this procedure should not be documented in the reference manual.

### Ln

    PROCEDURE Ln()

### LongInt

    PROCEDURE LongInt(msg: ARRAY OF CHAR;
                      lint: LONGINT)

### LongReal

    PROCEDURE LongReal(msg: ARRAY OF CHAR;
                       lreal: LONGREAL)

### LongRealEng

    PROCEDURE LongRealEng(lreal: LONGREAL)

### Msg

    PROCEDURE Msg(msg: ARRAY OF CHAR)

### Object

    PROCEDURE Object(msg: ARRAY OF CHAR;
                     obj: Object)

### Ptr

    PROCEDURE Ptr(msg: ARRAY OF CHAR;
                  ptr: PTR)

### Real

    PROCEDURE Real(msg: ARRAY OF CHAR;
                   real: REAL)

### RealEng

    PROCEDURE RealEng(real: REAL)

### Set

    PROCEDURE Set(msg: ARRAY OF CHAR;
                  s: SET)

### SetWriter

    PROCEDURE SetWriter(w: Writer)

### ShortInt

    PROCEDURE ShortInt(msg: ARRAY OF CHAR;
                       sint: SHORTINT)

### String

    PROCEDURE String(msg: ARRAY OF CHAR;
                     s: ARRAY OF CHAR)

### Type

    PROCEDURE Type(msg: ARRAY OF CHAR;
                   ptr: PTR)

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.