mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-16 07:14:07 +10:00
32 lines
722 B
Markdown
32 lines
722 B
Markdown
# About Library
|
|
|
|
The about library simply provides version info about the current build of Toy.
|
|
|
|
The about library can usually be accessed with the `import` keyword:
|
|
|
|
```
|
|
import about;
|
|
import about as about; //can easily be aliased
|
|
```
|
|
|
|
## major
|
|
|
|
This variable is the major version number of Toy at the time of compilation.
|
|
|
|
## minor
|
|
|
|
This variable is the minor version number of Toy at the time of compilation.
|
|
|
|
## patch
|
|
|
|
This variable is the patch version number of Toy at the time of compilation.
|
|
|
|
## build
|
|
|
|
This variable is a string representing the date and time that the interpreter was compiled.
|
|
|
|
## author
|
|
|
|
This variable contains the name of Toy's lead author, and his game studio.
|
|
|