XLISP continue

Nyquist / XLISP 2.0 - Contents | Tutorials | Examples | Reference

# continue

Type: | - | function (subr)
Source: | - | xlbfun.c, xldbug.c

## Syntax

(continue)

## Description

The 'continue' function attempts to continue from the break loop. This is valid only for cerrors [continuable errors]. If 'continue' is evaluated while not in a break loop , an error is generated:

    error: not in a break loop

In Nyquist, the error is:

    error: this error can't be continued

This error does not cause XLISP to go into a break loop. 'continue' never actually returns a value.

## Examples

    (continue)     ; error: not in a break loop
    (break "out")  ; break: out
    (continue)     ; to continue from break loop
                   ; BREAK returns NIL

Keystroke equivalent: In the IBM PC and MS-DOS versions of XLISP, a 'Ctrl-p' key sequence has the same effect as doing a (continue). On a Macintosh, this can be accomplished by a pull-down menu or a 'Command-p'. [I haven't tested this with Nyquist.]

See the continue function in the XLISP 2.0 manual.

Back to Top

Nyquist / XLISP 2.0 - Contents | Tutorials | Examples | Reference