samples.categories.methods.arguments-attribute.pec Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of WebSite Show documentation
Show all versions of WebSite Show documentation
Prompto Documentation Web Site POM
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 - 2024 Weber Informatics LLC | Privacy Policy