Post Reply 
Why "return 0;"
02-05-2018, 12:25 PM (This post was last modified: 02-05-2018 12:26 PM by compsystems.)
Post: #3
RE: Why "return 0;"
Ok, but the programming language of the hp-prime is not a general purpose language, it is a mathematical language, 0 is synonymous, for example, that the equation has no solution, for this reason I recommend changing the template

Return Done

just like the command (:; )

makemat(1000,1000,0);: Returns Done

if it returned to zero, it would be confusing.

makemat(1000,1000,0);: => 0
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Why "return 0;" - compsystems - 02-05-2018, 02:27 AM
RE: Why "return 0;" - Paul Berger (Canada) - 02-05-2018, 04:15 AM
RE: Why "return 0;" - compsystems - 02-05-2018 12:25 PM
RE: Why "return 0;" - toml_12953 - 02-05-2018, 04:29 PM
RE: Why "return 0;" - Carlos295pz - 02-05-2018, 02:32 PM
RE: Why "return 0;" - compsystems - 02-05-2018, 03:22 PM
RE: Why "return 0;" - Tim Wessman - 02-05-2018, 05:01 PM
RE: Why "return 0;" - DrD - 02-05-2018, 05:18 PM
RE: Why "return 0;" - TheKaneB - 02-05-2018, 07:35 PM
RE: Why "return 0;" - StephenG1CMZ - 02-05-2018, 10:29 PM
RE: Why "return 0;" - salvomic - 02-05-2018, 10:43 PM



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