Timeline for Why do I get the Null when I evaluate Print[x] // InputForm? [duplicate]
Current License: CC BY-SA 3.0
19 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 21, 2016 at 10:53 | comment | added | Mr.Wizard | This question was one vote away from being closed as "a simple mistake -- or easily found in the documentation." I chose instead to close it as a duplicate because I feel this is more useful to future readers. | |
| Jun 21, 2016 at 10:52 | history | closed | Daniel Lichtblau MarcoB m_goldberg Yves Klett Mr.Wizard | Duplicate of Function returning Null along with other unexpected expressions | |
| Jun 20, 2016 at 23:01 | comment | added | ciao | @DanielLichtblau - I've heard he uses both. Do tell, is the rumor true that Stephen was considering a name change to use the integration symbol to be read as "the genius formerly known as Stephen"? | |
| Jun 20, 2016 at 14:53 | history | edited | m_goldberg | CC BY-SA 3.0 | Minor clean-up |
| Jun 20, 2016 at 13:36 | review | Close votes | |||
| Jun 21, 2016 at 10:52 | |||||
| Jun 20, 2016 at 13:20 | comment | added | Daniel Lichtblau | @Ciao Those are cellular automata. They snack on Turing machines. | |
| Jun 20, 2016 at 10:24 | comment | added | Mr.Wizard | Related: (25507), (41086). Tangentially related: (5682), (18617) | |
| Jun 20, 2016 at 9:40 | vote | accept | Taiki Bessho | ||
| Jun 20, 2016 at 8:35 | history | edited | Szabolcs | CC BY-SA 3.0 | deleted 25 characters in body |
| Jun 20, 2016 at 8:34 | answer | added | Szabolcs | timeline score: 8 | |
| Jun 20, 2016 at 7:29 | comment | added | ciao | @Kuba - Take it up with Stephen W.. Forewarning: he's a big guy, with trained and vicious Turing machines caged and ready to attack... along with the superpower to materialize 6kg books at will to fling at you... | |
| Jun 20, 2016 at 7:24 | comment | added | Kuba | @ciao while Null ref page says it is an indication of a result absence, the ref page of Print says only things like Print sends its output to the channel $Output. - which isn't clear for newbies. There are a lot of examples of strage code with Print statements instead of Table etc, and I believe it's because its purpose is not well documented. | |
| Jun 20, 2016 at 6:50 | comment | added | ciao | @TaikiBessho - (1) Because it's stated in the documentation, (2) It makes sense: What would you have it do with say Print["one",1,"two"]? The argument is certainly not itself a valid MMA input, so returning it as such just would not make sense. | |
| Jun 20, 2016 at 6:43 | comment | added | Taiki Bessho | @ciao OK. Why do you know is the specification of Print so? Why did Wolfram people make Print so? | |
| Jun 20, 2016 at 6:26 | history | edited | Taiki Bessho | CC BY-SA 3.0 | added 4 characters in body |
| Jun 20, 2016 at 6:25 | comment | added | J. M.'s missing motivation | Use Echo[] if you want the output to be the expression in addition to the printing. | |
| Jun 20, 2016 at 6:24 | history | edited | Taiki Bessho | CC BY-SA 3.0 | edited title |
| Jun 20, 2016 at 6:24 | comment | added | ciao | Because that is what Print returns. The printed output is a side-effect. | |
| Jun 20, 2016 at 6:20 | history | asked | Taiki Bessho | CC BY-SA 3.0 |