Request: "Done" instead of 0
|
08-27-2018, 09:45 AM
(This post was last modified: 08-27-2018 09:48 AM by ijabbott.)
Post: #4
|
|||
|
|||
RE: Request: "Done" instead of 0
The text written by PRINT(Expr) is a "side effect" of the function, and need not be related to its return value. Giac currently chooses to return 0. The print() function in Python chooses to return None. The printf() function in C chooses to return the number of characters written. There is no "One True Way"™.
— Ian Abbott |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Request: "Done" instead of 0 - compsystems - 08-26-2018, 12:56 PM
RE: Request: "Done" instead of 0 - Tim Wessman - 08-26-2018, 01:25 PM
RE: Request: "Done" instead of 0 - compsystems - 08-26-2018, 01:58 PM
RE: Request: "Done" instead of 0 - ijabbott - 08-27-2018 09:45 AM
|
User(s) browsing this thread: 1 Guest(s)