I've been working primarily with SQL Server Management Studio in recent weeks. One of the features of the query window is that you can highlight any complete code snippet, press F5 and SSMS returns the results in the results window.
For example, with
select * from myTable where exists (select key from myTable1);
I could highlight
select key from myTable1
Press F5 and get the result.
In the last couple of days, I've been highlighting code in the APL+Win interactive session and pressing F5 to no avail.
Can you implement a similar feature? It would be a big bonus when debugging code. And if it execute in situ (i.e. without echoing the snippet to the bottom of the session as in SSMS), it will avoid clutter in the session.