# 1 "../sncExEntry.st" # 1 "" # 1 "" # 1 "../sncExEntry.st" program snctest float v; assign v to "{user}:xxxExample"; monitor v; ss ss1 { state low { entry { printf("Will do this on entry"); } entry { printf("Another thing to do on entry"); } when(v>5.0) { printf("now changing to high\n"); } state high when(delay(.1)) { } state low exit { printf("Something to do on exit"); } } state high { when(v<=5.0) { printf("changing to low\n"); } state low when(delay(.1)) { } state high } }