On 2/17/2019 7:27 AM, Tor Olav Kristensen wrote: > #macro MacroName(StartTime, EndTime) > > #local R = (clock - StartTime)/(EndTime - StartTime); > #local S = min(max(0, R), 1); > > S > > #end // macro MacroName Thank you! That's perfect. Mike
Post a reply to this message