Post Reply 
DAYOFWEEK command
08-26-2015, 10:43 AM (This post was last modified: 08-26-2015 10:45 AM by matthiaspaul.)
Post: #13
RE: DAYOFWEEK command
(08-26-2015 08:36 AM)Giancarlo Wrote:  I think this is a wise decision. If the user was not aware of the different behaviour of a command (DAYOFWEEK) based on a 'flag' or setting this could lead to errors if not trapped by a conditional test.
Exactly. This is what I meant by "needs another function to read the setting". Without it, configurability would cause unsolveable sideeffects in programs.

Like you, I think it is good as it is, except for that most day-of-week functions I have seen implemented in libraries or shells elsewhere return 1 = Sunday rather than 1 = Monday (or even 0 = Sunday), so the results may be unexpected to some. I have also seen two sets of functions being implemented to avoid this, like in DOW (for 1 = Sunday) and ISODOW (for 1 = Monday) etc., perhaps still an option for the Prime as well...

Quote:I am still missing the BEEP comand along with it hardware.
Yes, it would be nice to have, so that the calculator could give acoustic feedback on errors or touch screen gestures (only if mutable, of course) and be used as an alarm timer as well. Also, kids might have fun to implement some rudimentary music programs, like probably many of us did when we were young. IMO, by not providing an option to output sound (it doesn't need to be sophisticated), HP is missing a sales incentive. A beeper is a checklist item for some.

Greetings,

Matthias


--
"Programs are poems for computers."
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
DAYOFWEEK command - Giancarlo - 08-22-2015, 05:24 PM
RE: DAYOFWEEK command - Thomas_Sch - 08-22-2015, 08:05 PM
RE: DAYOFWEEK command - TASP - 08-22-2015, 09:31 PM
RE: DAYOFWEEK command - Thomas_Sch - 08-22-2015, 10:07 PM
RE: DAYOFWEEK command - TASP - 08-22-2015, 10:49 PM
RE: DAYOFWEEK command - Thomas_Sch - 08-23-2015, 06:39 AM
RE: DAYOFWEEK command - TASP - 08-27-2015, 03:57 AM
RE: DAYOFWEEK command - Gerald H - 08-23-2015, 06:36 AM
RE: DAYOFWEEK command - Thomas_Sch - 08-23-2015, 06:45 AM
RE: DAYOFWEEK command - Giancarlo - 08-23-2015, 10:48 AM
RE: DAYOFWEEK command - matthiaspaul - 08-26-2015, 03:10 AM
RE: DAYOFWEEK command - Joe Horn - 08-26-2015, 05:56 AM
RE: DAYOFWEEK command - Giancarlo - 08-26-2015, 08:36 AM
RE: DAYOFWEEK command - matthiaspaul - 08-26-2015 10:43 AM
RE: DAYOFWEEK command - Joe Horn - 08-26-2015, 02:51 PM



User(s) browsing this thread: 1 Guest(s)