Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion essentials/the-main-function/using-unit-sub/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: Using unit sub

{% include menu.html %}

The `unit sub` construct is a handy way to make the rest of the file the body of the function! When used with `MAIN`, it allows getting rid of the curly braces that embrace virtually the whole file, as well as of unnecessary indentation.
The `unit sub` construct is a handy way to make the rest of the file the body of the function! When used with `MAIN`, it allows getting rid of the curly braces that embrace virtually the whole file, as well as unnecessary indentation.

The usage of `unit sub` is demonstrated in the following example of a program.

Expand Down