(34 lines)
1 '\" t2 .\" Copyright (c) 2026 Bruce Hill3 .\" All rights reserved.4 .\"5 .TH exit 3 2026-03-08 "Tomo man-pages"6 .SH NAME7 exit \- exit the program8 .SH LIBRARY9 Tomo Standard Library10 .SH SYNOPSIS11 .nf12 .BI exit\ :\ func(message:\ Text?\ =\ none,\ status:\ Int32\ =\ Int32(1)\ ->\ Abort)13 .fi14 .SH DESCRIPTION15 Exits the program with a given status and optionally prints a message.18 .SH ARGUMENTS20 .TS21 allbox;22 lb lb lbx lb23 l l l l.24 Name Type Description Default25 message Text? If nonempty, this message will be printed (with a newline) before exiting. none26 status Int32 The status code that the program with exit with. Int32(1)27 .TE28 .SH RETURN29 This function never returns.31 .SH EXAMPLES32 .EX33 exit("Goodbye forever!", Int32(1))34 .EE