Skip to content
Snippets Groups Projects

Add exit function in core module.

Merged Stéphane Del Pino requested to merge feature/exit-function into develop
6 files
+ 77
4
Compare changes
  • Side-by-side
  • Inline

Files

+ 6
1
@@ -2540,11 +2540,16 @@ to files for instance) as we will see below.
**** ~core~ provided functions
***** ~exit: Z -> void~
This function interrupts the execution of the script. The integer (~Z~)
value is the code that is returned when ~pugs~ exits.
***** ~getAvailableModules: void -> string~
This function that is used in the preamble of this section is a
function that returns a ~string~ that contains the list of modules that
are available in the current version of pugs.
are available in the current version of ~pugs~.
***** ~getModuleInfo: string -> string~
Loading