tomo/docs
2024-08-22 14:02:48 -04:00
..
arrays.md Remove unused parameter and add some docs on arrays 2024-08-20 16:00:58 -04:00
booleans.md Move docs into one folder 2024-08-19 00:23:02 -04:00
channels.md Move docs into one folder 2024-08-19 00:23:02 -04:00
compilation.md Move docs 2024-08-10 14:26:41 -04:00
enums.md Move docs into one folder 2024-08-19 00:23:02 -04:00
functions.md Document functions 2024-08-19 15:57:06 -04:00
integers.md Move docs into one folder 2024-08-19 00:23:02 -04:00
langs.md Add docs for lang 2024-08-19 14:41:04 -04:00
libraries.md Overhaul of import syntax. Now everything uses use: use foo, `use 2024-08-22 14:02:48 -04:00
metamethods.md Update docs 2024-08-19 00:32:12 -04:00
namespacing.md Update docs 2024-08-19 00:38:41 -04:00
nums.md Document deg 2024-08-19 12:46:01 -04:00
operators.md Update operators docs to include various undocumented features like 2024-08-19 20:15:55 -04:00
pointers.md Move docs into one folder 2024-08-19 00:23:02 -04:00
ranges.md Move docs into one folder 2024-08-19 00:23:02 -04:00
README.md Document functions 2024-08-19 15:57:06 -04:00
sets.md Move docs into one folder 2024-08-19 00:23:02 -04:00
structs.md Document struct(secret) 2024-08-19 14:50:53 -04:00
tables.md Move docs into one folder 2024-08-19 00:23:02 -04:00
text.md Move docs into one folder 2024-08-19 00:23:02 -04:00
threads.md Move docs into one folder 2024-08-19 00:23:02 -04:00

Documentation

This is an overview of the documentation on Tomo.

Topics

A few topics that are documented:

Types

Information about Tomo's built-in types can be found here:

Built-in Functions

say

Description:
Prints a message to the console.

Usage:

say(text:Text) -> Void

Parameters:

  • text: The text to print.

Returns:
Nothing.

Example:

say("Hello world!")

fail

Description:
Prints a message to the console, aborts the program, and prints a stack trace.

Usage:

fail(message:Text) -> Abort

Parameters:

  • message: The error message to print.

Returns:
Nothing, aborts the program.

Example:

fail("Oh no!")