Given a Dialog Manager variable &TIME containing the time of day (in 24-hour clock format, 'hh:mm:ss')
Convert the time to 'Seconds Elapsed Since Midnight', in two lines of Dialog Manager code not exceeding 80 characters in length.This message has been edited. Last edited by: j.gross,
Were you very much disappointed with the results we gave you? Did we fail some kind of test or loose points or maybe even the opposite?
Anyway, your solution is quite elegant and it goes to show that there is more than one way to 'defur a feline'.
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
October 08, 2009, 09:16 AM
Prarie
quote:
'defur a feline'
I love it!...so much more humane than the usual saying.
October 08, 2009, 09:54 AM
susannah
gamp. i think this was just the brain teaser of the day... what a fun idea...
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
October 08, 2009, 10:54 AM
j.gross
It all started when I reported to this assignment, poked around in the common code module for calculating run duration, and said to myself -- good idea, but there has to be a more succinct way of implementing the calculations...
But it does go to show that .EVAl is more than a necessary nuisance.
Anyway, here's how I would do it (wrapped in an illustrative test bed):