Skip to content

How exit a program

DevKiD edited this page Sep 18, 2023 · 1 revision

There are various ways to end a program.

With exit(); With exit(); you can exit the program. However, note that in Common Cosmolang this only works with a number in 8-bit format. This is possible from version 1235.1294-23491F:ASc9m3 - 20.439CA.39vmA3#cs. For Common Cosmolang Japanese Page it is 出口(?);; In the version from 1.034-124JP-21429 to latest (1204.23591.3ACms":§4,d)

For AstroCosmo, AstroLang, JP Cos, Cosmo, Chinese Cosmo, C++ Cosmo, ICL, ICA there are different ways. But often they use this way to exit a program.

Other ways are return and back() At this version of ending a program, there is only for CC Cosmolang and CC Cosmolang JP Pg. There is only by the latest version. The functions can returns obj, class, functions, numbers(int_lit), strings, char etc.

Clone this wiki locally