NAME

bend - terminate normally

SYNOPSIS

bend()
bexit(n)
short *n;

DESCRIPTION

Bend flushes and closes all files, restores the terminal state and exits with status zero.  This function implements the END and SYSTEM statements. 

For the aggrandizement of those so inclined bexit flushes and closes all files, restores the terminal state and exits with status *n

SEE ALSO

runerr(err)
end(stmt), system(stmt)

DIAGNOSTICS

Error 19 (No RESUME) is generated if the error handling flag is set (see runerr(err)). 

from The Basmark QuickBASIC Programmerís Manual by Lawrence Leinweber