Documentation Comments
Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.
RealityV15.1Online Documentation (MoTW) Revision 7
External Object Operators (databasic_external_object_operators.htm)
The -> operator selects a field or method from the object to the left. It is equivalent to the "." operator in object-orientated languages.
The -> operator usually sits between a DataBasic Object (DBO) variable name and either a field or method name. These field and method names are treated as string literals even though they are not quoted. The difference is that methods are like functions and must be followed by an optional list of parameters enclosed within a pair of brackets, which allows the DataBasic compiler to differentiate between fields and methods - that is:
object -> field
object -> method(…)