Replies: 2 comments 4 replies
-
Here's the rational, a for loop update statement is itself a statement; statements end in semi-colons. That said, the code is stubbed out to make it optional however I have not implemented this option. |
Beta Was this translation helpful? Give feedback.
4 replies
-
No problem, I just remembered that I need to add that feature to the release notes. It is in the upcoming release notes. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I always wondered why there need to be a semicolon before
)
On other C based languages, it will be:
for(i := 0; i < location->Size(); i += 1)
Objeck's for loop is weird.
Btw, on Operators table, I found it support
++
. But I have never seen a for loop that usesi++
or++i
.Beta Was this translation helpful? Give feedback.
All reactions