Unfortunately, there is no "switch case" in PressTalk.
You could define
arrays and scroll through them with a loop.
Here's my idea:
4 arrays:
- arrMaleAge
- arrMaleBenefit
- arrFemaleAge
- arrFemaleBenefit
Each
arr<Male/Female>Age holds the ages you are concern with.
Each
arr<Male/Female>Benefit holds the corresponding benefit.
Using a loop, scroll through the
arr<Male/Female>Age, find the right age and get the benefit from the
arr<Male/Female>Benefit which reside at the same index.
Hope that helps.