Post Reply 
an HP question...
10-23-2017, 01:39 PM
Post: #9
RE: an HP question...
Hello,

CASE exists because it is a "normal" "expected" programming command which is taught in algo classes and since Prime is an educational tool, it has been implemented.

It is not compiled as an if then else, but as a case function whith it's own handling. It does offer a "default"...

Personally, unless I know that case compiles to a jump table (as in a switch (a) where a is known between 0 and 15 (for example), then I will NEVER use case.

Cyrille

Although I work for the HP calculator group, the views and opinions I post here are my own. I do not speak for HP.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
an HP question... - webmasterpdx - 10-23-2017, 03:57 AM
RE: an HP question... - Arno K - 10-23-2017, 06:35 AM
RE: an HP question... - webmasterpdx - 10-23-2017, 07:13 AM
RE: an HP question... - Didier Lachieze - 10-23-2017, 07:44 AM
RE: an HP question... - Arno K - 10-23-2017, 07:37 AM
RE: an HP question... - webmasterpdx - 10-23-2017, 08:06 AM
RE: an HP question... - Gilles59 - 10-23-2017, 12:16 PM
RE: an HP question... - Eddie W. Shore - 10-23-2017, 12:36 PM
RE: an HP question... - cyrille de brébisson - 10-23-2017 01:39 PM
RE: an HP question... - webmasterpdx - 10-23-2017, 10:26 PM
RE: an HP question... - webmasterpdx - 10-24-2017, 12:58 AM
RE: an HP question... - webmasterpdx - 10-24-2017, 01:12 AM
RE: an HP question... - webmasterpdx - 10-24-2017, 01:20 AM
RE: an HP question... - webmasterpdx - 10-24-2017, 01:38 AM
RE: an HP question... - webmasterpdx - 10-24-2017, 02:09 AM
RE: an HP question... - webmasterpdx - 10-24-2017, 02:16 AM
RE: an HP question... - Joe Horn - 10-24-2017, 06:21 AM



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