Code: Select all
class Thing
{
var := 123
}
t := new Thing()
t.var
why is this happening? if i have a property that implements get with sideeffects, i cant use it purely for its side effects alone??
v1 valid, v2 not valid
Code: Select all
class Thing
{
var := 123
}
t := new Thing()
t.var
its a function call with no params, using the new "command-like" syntax.
Method calls which lack parentheses take the remainder of the line as their parameter list. For example, ExcelApp.Quit or x.y.z "my parameter". This is technically not an expression, but rather a method call statement.