Hi!
I have a datafield for cyclists, which - among other thinfs - monitors laps.
I encountered, that for workouts there is no lap event when you go to the next interval.
Now I tried to get Activity.WorkoutIntervalStep.repetitionNumber to check if I can use this, but I get an error:
var mValue = "--"; if ( Activity has :WorkouIntervalStep) { if ( WorkoutIntervalStep.repetitionNumber != null ) { mValue = WorkoutIntervalStep.repetitionNumber.format("%0d"); } }
I get an error in line 3:
ERROR: edge1050:
Cannot find symbol ':repetitionNumber' on class definition '$.Toybox.Activity.WorkoutIntervalStep'.
What do I miss?
Thanks!