« first day (2408 days earlier)      last day (263 days later) » 

9:04 AM
Is there a way to suppress the output of a function that writes ⎕←?
 
@B.Wilson Yes, you can set an output handler for ⎕SE's SessionPrint event to not print.
      ⎕SE.P←{} ⋄ ⎕SE.(SessionPrint←'P')
      ⎕←⍳3
↑ prints nothing.
 
 
12 hours later…
9:07 PM
@Adám Interesting. Does this work differently in the CLI session?
       ⎕SE.P←{} ⋄ ⎕SE.(SessionPrint←'P')
 SYNTAX ERROR: Invalid modified assignment, or an attempt was made to change nameclass on assignment
       ⎕SE.P←{} ⋄ ⎕SE.(SessionPrint←'P')
                       ∧
 

« first day (2408 days earlier)      last day (263 days later) »