1

what is wrong with my RPS1 expression

RPS1='%(t.[Ding!].%(t30.[Dong!].[%T]))'

Explanation:

I want to get [Ding!] if it is 11am, [Dong!] if it is 11:30am and if both is not true just normal time like [11:33]. But what is wrong?

0

The syntax is %[<number>](X.true.false), not %(X[<number>].true.false).

So:

RPS1='%(t.[Ding!].%30(t.[Dong!].[%T]))'

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.