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

samples.expressions.sort-expressions.pec Maven / Gradle / Ivy

There is a newer version: 0.0.74
Show newest version
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