an HP question...
|
10-23-2017, 12:16 PM
(This post was last modified: 10-23-2017 12:28 PM by Gilles59.)
Post: #7
|
|||
|
|||
RE: an HP question...
(10-23-2017 03:57 AM)webmasterpdx Wrote: Why does the case command exist since we have to put an if-then-end command for each case? Why not just put the if-then-end commands in a row without the case? I dont like the way CASE is implemented in the Prime. In langage like Pascal it's easier to understand and read, but perhaps less flexible. Code: Case x Of or Code: Case x Of By the way, the CASE instruction is interesting on the PRIME as Didier Lachieze wrote and avoid a succession of imbricated IF THEN ELSE. And if understand well your exemple with RETURN only works if you have a subroutine dedicated to the test cases. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)