Sep 21 2017
12:10 PM
- last edited on
Apr 07 2022
04:44 PM
by
TechCommunityAP
Sep 21 2017
12:10 PM
- last edited on
Apr 07 2022
04:44 PM
by
TechCommunityAP
I am trying to work with more complex expressions, and scalar function ago() is not behaving as expected. Specifially, this fails,
print ago( 3 * 5min )
throwing sytax error "ago(): argument #1 must be timespan literal"
This works:
print ago( 15min )
And this works:
let x = 15min; print ago( x )
But this fails:
let x = 3 * 5min; print ago( x )
Other functions I have tested don't have the same problem. This works:
print abs( 3 * 5min )
Is there something I should be or could be doing differently to get the desired result?
Sep 25 2017 08:11 PM
Oct 02 2017 10:31 PM
SolutionOct 04 2017 09:30 AM
Ketan,
Cool! Thanks for fixing it. Was this fix already in the pipeline or was that a quick response to the issue being raised here?
Oct 02 2017 10:31 PM
Solution