samples.expressions.sort-expressions.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 Person as category with attribute name
define main as method doing:
e1 = Person with "Peter" as name
e2 = Person with "John" as name
e3 = Person with "Alan" as name
list = [ e1, e2, e3 ]
printLine "sorted -> " + sorted list with name[2:3] as key
© 2015 - 2024 Weber Informatics LLC | Privacy Policy