mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
Renamed the about library
This commit is contained in:
32
getting-started/toy-version-info-library.md
Normal file
32
getting-started/toy-version-info-library.md
Normal file
@@ -0,0 +1,32 @@
|
||||
# Toy Version Info Library
|
||||
|
||||
The toy_version_info library simply provides version info about the current build of Toy.
|
||||
|
||||
The toy_version_info library can usually be accessed with the `import` keyword:
|
||||
|
||||
```
|
||||
import toy_version_info;
|
||||
import toy_version_info as toy_version_info; //can be aliased
|
||||
```
|
||||
|
||||
## Defined Variables
|
||||
|
||||
### 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.
|
||||
Reference in New Issue
Block a user