An HP71 does not like F as a variable
|
12-12-2023, 08:53 PM
Post: #8
|
|||
|
|||
RE: An HP71 does not like F as a variable
(12-12-2023 09:49 AM)Paul Dale Wrote: I agree that assigning the scalar to the entire array isn't sensible. However, F=2 should replace the array with a scalar. Does the HP71 have strict typing (an anathema to us old BASIC programmers)? If so then you can't assign a different type of data to a variable unless you re-initialize the variable in some way (in HP71-speak, DESTROY?) If the HP71 is consistent, then this should throw an error instead of truncating or rounding: INTEGER X X=5.7 See the bottom of page 59 of this document: https://holyjoe.net/HP71/HP71BME.pdf Tom L Cui bono? |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
An HP71 does not like F as a variable - waspentalive - 12-11-2023, 03:32 AM
RE: An HP71 does not like F as a variable - rprosperi - 12-11-2023, 01:01 PM
RE: An HP71 does not like F as a variable - Valentin Albillo - 12-11-2023, 03:53 PM
RE: An HP71 does not like F as a variable - cruff - 12-12-2023, 02:43 AM
RE: An HP71 does not like F as a variable - Paul Dale - 12-12-2023, 05:35 AM
RE: An HP71 does not like F as a variable - J-F Garnier - 12-12-2023, 08:27 AM
RE: An HP71 does not like F as a variable - Paul Dale - 12-12-2023, 09:49 AM
RE: An HP71 does not like F as a variable - toml_12953 - 12-12-2023 08:53 PM
RE: An HP71 does not like F as a variable - rprosperi - 12-13-2023, 01:04 PM
RE: An HP71 does not like F as a variable - vaklaff - 12-13-2023, 01:52 PM
|
User(s) browsing this thread: 1 Guest(s)