
samples.categories.storing-example.pec Maven / Gradle / Ivy
define firstName as storable Text attribute
define lastName as storable Text attribute
define Person as storable category with attributes firstName and lastName
define main as method doing:
p1 = Person with "Arthur" as firstName and "Rimbaud" as lastName
store p1
p2 = fetch one Person where lastName = "Rimbaud"
printLine p2
© 2015 - 2025 Weber Informatics LLC | Privacy Policy