Meta Project

The Unofficial Meta Documentation

BYE

Summary

BYE ends the program execution

Category

CONTROLS

Usage

BYE

Arguments

No arguments

Refinements

/RETURN - ends or quits the program and RETURNS the control to the calling program.

Description

BYE is what QUIT is for Rebol. BYE is used to end the program before the end of the script is reached.

Example Code

An example to make sure the program does not continue after a blocking issue has been detected.

data-file= ./meta.data
Either metadata: try open data-file [
    write/line "File exists, it is save to continue now"
][
    write/line "Not able to open file"
    BYE
]

Related

To be done. No other related method names assigned yet.

Back to the Meta Methods Reference index