
samples.categories.methods.arguments-default.pec Maven / Gradle / Ivy
define Person as category with attribute name, and methods:
define printMessage as method receiving Integer count = 2 doing:
printLine this.name + " has " + count + " parents"
define main as method doing:
person = Person with "Shubadha" as name
person.printMessage
© 2015 - 2025 Weber Informatics LLC | Privacy Policy