Why does
Block[{$Pre = ( 1 + #) &}, 1]
produce 1 while
Block[{$PreRead = Print["hi"]}, 1]
produces
"hi"
1
?
In the Block block, shouldn't the expression have it's Pre evaluation as well?
|
Why does
produce
produces
?
In the |
|||
|
|
|
No, Consider:
If outside
and then evaluate a
You see that the entire "line" (I can't think of a better term at the moment) of code is sent to |
|||||||||||
|