-
Notifications
You must be signed in to change notification settings - Fork 18
AngelScript Guide for Begineers #125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Deploying wiki with
|
| Latest commit: |
c1b749f
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://baa8e2fd.wiki-5tv.pages.dev |
| Branch Preview URL: | https://as-guide.wiki-5tv.pages.dev |
|
Just mark it as draft |
| - Substraction **-** operator - substracts two values from each other, | ||
| - Many more, such as **+=**, **-=**, **++**, etc. are available. More about them can be found in the [expression reference table](https://www.angelcode.com/angelscript/sdk/docs/manual/doc_expressions.html). | ||
|
|
||
| Such statements need to end with the semicolon (`;`): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line might be unnecessary or confusing?
You can do things like
a().b(); or a += b - c; or even probably a(b += c);
So it doesn’t always have to end with a semicolon immediately if it’s part of like a sub expression
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technically they all are single statements.
a += b - c; is like saying "To a, add the difference between b - c" and this is in fact one statement.
So is a().b(); => On the result of a() call b().
Not sure what would a(b += c); do?
|
Sort of a nitpick. Something I would suggest is possibly renaming the files. Maybe chapter1.md could be intro.md then chapter2.md could be like value-types.md That way the URLs are somewhat more informative to the actual content. The titles to the pages could still include the actual chapter number. |
|
I don't think this is needed, as no one will write links by hand, and I also like my files organized numerically, but if this is an issue later down the line it can be changed yes. |
Initial implementation of a guide for people who want to learn AngelScript.
Still not done, so please do not merge until I'm done.