I tried implementing a step change by having two values at the same time, but I couldn't seem to bet what I wanted. In the example below, I'm trying to get some step changes followed by a "ramp".
analog "A" between 0 and 100 as A
@A
0 is 50
10 is 50
10 is 0
20 is 0
20 is 10
25 is 10
45 is 90