Post Reply 
Video posted about the TI-74 BASICALC Pocket Computer
07-17-2022, 11:19 AM
Post: #3
RE: Video posted about the TI-74 BASICALC Pocket Computer
(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.

   
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


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



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