All Downloads are FREE. Search and download functionalities are using the official Maven repository.

samples.categories.methods.calling-named.pec Maven / Gradle / Ivy

There is a newer version: 0.0.74
Show newest version
define Person as category with attribute name, and methods:

    define welcome as method receiving Text prefix and Text suffix doing:
        printLine prefix + name + suffix

define main as method doing:
    person = Person with "Marylin" as name
    person.welcome with ", how are you?" as suffix and "Hello " as prefix




© 2015 - 2024 Weber Informatics LLC | Privacy Policy