JE - Jump exit.

Syntax:

JE/message/

Examples

je/Fatal error/
je:Yay, I'm finished!:

Description:

JE prints its message on the terminal. If the message contains stream directives like \B or \N, they are expanded as the message is printed. New-line characters in the message must be preceded by \C.

Once JE has printed the message, it terminates all currently executing buffers. If the O+Q option is in effect, FRED itself then terminates. Otherwise, FRED begins taking commands from the terminal.

JE must be executed inside a buffer. FRED gives you an error if you type a JE directly from the terminal. You can use JE in a G or U command list, because G and U execute their commands from a hidden buffer.

FRED prints output from JE directly on the terminal, even if terminal output is being gathered by a ZG command.

Any non-alphanumeric characters may be used as delimiters in place of the / character. You may omit the closing delimiter if O-S/ is in effect and the JE command is immediately followed by a new-line.

Because of size restrictions, the maximum message size is 2000 characters. An error is issued if you attempt to print a longer message.

If you want to use JM to print out a linefeed character, you must send \9\; (i.e. a linefeed with bit nine turned on). If you just send a normal linefeed (\;), FRED will convert it to a carriage return followed by a linefeed. This principle applies to JM and JP as well.

Copyright © 1998, Thinkage Ltd.