Not logged inOpenClonk Forum
Up Topic Using the point operator for function calls in C4Script

This board is threaded (i.e. has a tree structure). Please use the Reply button of the specific post you are referring to, not just any random button. If you want to reply to the topic in general, use the Post button near the top and bottom of the page.

Post Reply
In Response to Sven2
Right now, to access local functions and properties:
foo(bar)
For remote access in context "other":
other->foo(other.bar)
After the change:
other.foo(other.bar)

The simplification would be that to go from a local lookup to another context lookup, you have to prefix "other.". That's easier to remember than prefixing "other->" for functions and "other." for properties.

I think Guenther was asking exactly this question at the time and we (me included) voted against it though. Decades of C4Script momentum are hard to stop.

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill