Lugaru's Epsilon
Programmer's
Editor

Context:
Epsilon User's Manual and Reference
   . . .
   Command Reference
      abort
      about-epsilon
      align-region
      . . .
      zoom-window
   Variable Reference
      abort-file-io
      abort-file-matching
      abort-key
      . . .
   Changing Epsilon
   . . .

Previous   Up    Next
Variable Reference  Variable Reference   abort-file-matching


Epsilon User's Manual and Reference > Variable Reference >

abort-file-io: system variable

Default value: -3

If the user presses the abort key when Epsilon is reading or writing a file, Epsilon asks whether to abort the file input/output operation. If the user says to abort, the file reading or writing primitive returns an error code, EREADABORT or EWRITEABORT, respectively. This variable changes Epsilon's behavior; EEL code may set it using a save_var statement to one of these values: A value of ABORT_IGNORE (0) makes Epsilon ignore the abort key during file I/O. A value of ABORT_ASK (-3, the default) makes Epsilon ask the user as above and return an error code. A value of ABORT_ERROR (-2) make Epsilon return the error code without prompting first. The value ABORT_JUMP (-1) doesn't ask either; it calls the check_abort( ) primitive, which typically aborts the entire command.

More info:

File Reading Primitives (Primitives)



Previous   Up    Next
Variable Reference  Variable Reference   abort-file-matching


Lugaru Copyright (C) 1984, 2012 Lugaru Software Ltd. All Rights Reserved.