Skip to content

Scripts

Socratic_Phoenix edited this page Aug 19, 2017 · 2 revisions

<-- Back | Next -->


A Shnap script is any shnap or cshnap file. Script and module are used interchangeably in these tutorials, but, generally, a script is run and a module provide library functions. When a script is loaded (either run or imported), every statement in it's body is executed. If a script is loaded for execution, and it has a no-arg main function, that function will be executed after the script has been loaded.

Clone this wiki locally