Why "return 0;"
|
02-05-2018, 02:27 AM
(This post was last modified: 02-05-2018 02:34 AM by compsystems.)
Post: #1
|
|||
|
|||
Why "return 0;"
Why the template of a new function in CAS mode, the declaration "RETURN 0" returns the number zero?
I think the logical thing is to return 1 (true or done), synonymous that the function reached the goal, while that 0 is synonymous with false. PHP Code: #cas |
|||
« Next Oldest | Next Newest »
|
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)