
samples.expressions.this.pec Maven / Gradle / Ivy
define SomeObject as category with attribute name, and methods:
define SomeMethod as method receiving name doing:
return this.name + " " + name
define main as method doing:
s = SomeObject with "Hello" as name
printLine "name -> " + s.SomeMethod "John"
© 2015 - 2025 Weber Informatics LLC | Privacy Policy