HP-71B BASIC Question
|
03-20-2021, 09:23 AM
(This post was last modified: 03-20-2021 09:35 AM by J-F Garnier.)
Post: #13
|
|||
|
|||
RE: HP-71B BASIC Question
(03-20-2021 12:51 AM)Valentin Albillo Wrote: A few simple additional ones, many of them avoid unnecessary GOTO's (slow and unsightly): Probably a matter of programming style, but I would rewrite it as: 440 'ISMSTYPE': 441 D=DEVAID(A) 442 IF FND(D)=0 THEN DISP "Err: Inv Device Type" @ STOP 443 RETURN There are as many programming styles as programmers ! Quote:Somewhat optimized and if you can use the JPC ROM: Yes! If you want to write better structured code, the JPC ROM is a must, with it's structured programming constructions modelled from the Series 200/300 HP BASIC. J-F |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)