Update docs/gettingstarted.md.

Fixez a typo in the 5th section of docs/gettingstarted.md and adds an alternative "structure" keyword for classes.

Signed-off-by: Username404-59 <w.iron.zombie@gmail.com>
This commit is contained in:
Username404-59 2021-08-05 01:16:35 +02:00
parent 913bd4ba9b
commit c2a9c630ed
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ int ** This is a compact comment, you can insert it pretty much anywhere ** a =
```
## 5 - Classes
A class can be made with the keyword, their name, optional constructors (`~()`) where you can add parameters + code that will run when the class is instantiated, and the class body where you can define methods, properties etc:
A class can be made with one of the `class` and `structure` keywords, its name, optional constructors (`~()`) where you can add parameters + code that will run when the class is instantiated, and the class body where you can define methods, properties etc:
```
class Program {
hello #= "Hello"