HP Forums
Video posted about the TI-74 BASICALC Pocket Computer - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: Not HP Calculators (/forum-7.html)
+--- Forum: Not remotely HP Calculators (/forum-9.html)
+--- Thread: Video posted about the TI-74 BASICALC Pocket Computer (/thread-18565.html)



Video posted about the TI-74 BASICALC Pocket Computer - Steve Simpkin - 07-17-2022 05:09 AM

There is a great overview of the TI-74 BASICALC Pocket Computer that was just posted over on the Calculator Culture YouTube channel. Antony also has a lot of other excellent videos about programmable/business calculators and pocket computers on his channel including a number of HP models.

[attachment=10881]

TI-74 BASICALC Pocket Computer Video - Calculator Culture


RE: Video posted about the TI-74 BASICALC Pocket Computer - Hollerith - 07-17-2022 10:04 AM

This video states that values cannot be returned from a subprogram using scalar variables and the example program shown uses a one element array to get around this limitation.

Well my TI-74 (ser.no. 9193619) does return values in scalar variables, i.e. they are passed by reference. If you want to use "by value" put the variable in parentheses in the call statement.

Brian


RE: Video posted about the TI-74 BASICALC Pocket Computer - Steve Simpkin - 07-17-2022 11:19 AM

(07-17-2022 10:04 AM)Hollerith Wrote:  This video states that values cannot be returned from a subprogram using scalar variables and the example program shown uses a one element array to get around this limitation.

Well my TI-74 (ser.no. 9193619) does return values in scalar variables, i.e. they are passed by reference. If you want to use "by value" put the variable in parentheses in the call statement.

Brian

Brian,

Good catch! I think the following pages from the TI-74 Programming Reference Guide explain the process you describe.

[attachment=10882]