Stat

Stat VarName

The variable type "Stat" is a simple boolean-like type which stores a value representing the success or failure of a routine.

The value which is returned by a function of type Stat will either be "SUCCESS" or "FAILURE".

    Stat ok
    .
    .
    ok = Connect()
    If ( ok = FAILURE ) Then
      ; can't connect
    Fi

See also: