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

samples.categories.methods.arguments-attribute.pec Maven / Gradle / Ivy

define message as Text attribute

define Person as category with attribute name, and methods:

    define printMessage as method receiving message doing:
        printLine message + name

define main as method doing:
    person = Person with "Monroe" as name
    person.printMessage with "Hello, Marylin " as message




© 2015 - 2025 Weber Informatics LLC | Privacy Policy