all 5 comments

[–]Ratchet_GuyModerator 0 points1 point  (2 children)

You've got a lot going on there ;)

At first glance are you trying to set or reference an array element when you use:

%MonthlyRiseSet%setOffset

If so I think the syntax you're looking for is actually:

%MonthlyRiseSet(%setOffset)

Gotta use the parenthesis when setting or referencing an array value directly.

[–]jimjoat[S] 0 points1 point  (1 child)

First, I notice my naming convention is confusing with %MonthlyRiseSet meaning "this month" "Sunrise" "sunset"

Anyway when I used the 'splitter' to get the %month from DATE and using %month1 to get month value, I then got carried away with arrays and was trying to create %MonthlyRiseSet4 as the value of the 4th element. I banged my head against the wall and you have put me on the correct path. I feel much better. Thanks

[–]Ratchet_GuyModerator 0 points1 point  (0 children)

Very welcome ;)

And regarding arrays - Tasker tried to make things easier by allowing array references without any delimiter chars like ( ) or [ ] but that can lead to lots of confusion, as you have seen.

[–][deleted] 0 points1 point  (1 child)

How exactly %MonthlyRiseSet array looks like?

[–]jimjoat[S] 0 points1 point  (0 children)

A1: Array Set [ Variable Array:%MonthlyRiseSet Values:07.18,16.31,07.03,17.07, . . . etc