Hi, is there any possibility to make struct including one or more events which can be used later by other functions? I tried with the following code and some similar code but this all didn't work.
void evt () {
storage = 1;
}
typedef struct {
var storage;
EVENT evt;
} test_struct;
function main() {
test_struct bla;
bla.evt;
printf("%f", bla.storage);
}