14 lines
182 B
Plaintext
14 lines
182 B
Plaintext
var tally: int = 0;
|
|
|
|
fn onInit(node) {
|
|
print "child init called";
|
|
}
|
|
|
|
fn onStep(node) {
|
|
print "child step called";
|
|
print ++tally;
|
|
}
|
|
|
|
fn onFree(node) {
|
|
print "child free called";
|
|
} |