Yeah, for our application I want to write very explicit code that's fairly self-explanatory as part of a tutorial so I chose i := i + 1. Even if they end up using INC(i) down the road, INC(i) isn't necessarily self-explanatory for a novice user without assembly experience *(like me for example)*. It's a small consideration though - I was mostly curious if they are compiled differently best, Jeff
My understanding is that if an experienced Python programmer just wanted to increment an integer variable they wouldn't write i = i + 1, instead they would write:
i += 1
Similarly C++ programmers would write
i++
INC(i) is the best match in Oberon for either of these statements.
I suspect they would be unhappy if you told them to rewrite this in Python / C++ as
i = i + 1
so they would see this as a disadvantage if they were told that they had to write it this way in Oberon.
Regards, Chris Burrows CFB Softwarehttps://www.astrobe.com