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

samples.statements.return-multi.pec Maven / Gradle / Ivy

define someMethod as method doing:
    a = 3
    if a = 3:
        return "some value"
    else:
        return "other value"

define main as method doing:
    printLine someMethod




© 2015 - 2025 Weber Informatics LLC | Privacy Policy