summaryrefslogtreecommitdiffstats
path: root/virtual-programs/errors.folk
blob: 280287105e717500c21c615cf6c502fa1c8c693d (plain)
1
2
3
4
5
6
7
8
9
10
11
When /p/ has error /err/ with info /info/ {
    When the clock time is /t/ {
        if {[expr {(int($t * 5)) % 2}] == 1} {
            Wish $p is outlined white
        } else {
            Wish $p is outlined red
        }
    }

    Wish $p is titled $err
}