Skip to content

Commit

Permalink
Set ⎕IO and ⎕ML in all namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
mkromberg committed Sep 21, 2019
1 parent 1f2307d commit 2b9970e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pynapl/IPC.dyalog
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
:Namespace IPC
:Namespace IPC
Send messages between the APL and Python process
w/o the overhead of Conga.

The IPC functions signal 999 on error,
and 998 on interrupt.

⎕IO ⎕ML1


Init;isOS
Expand Down
2 changes: 2 additions & 0 deletions pynapl/PyTest.dyalog
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
:Namespace PyTest

⎕IO ⎕ML1
num0

rClickHello;update
num+1
'Hello! ',num
Expand Down
2 changes: 2 additions & 0 deletions pynapl/WinPySlave.dyalog
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

:Namespace WinPySlave

⎕IO ⎕ML1

Go
:If 0=⎕NC'#.Py'
'ERROR: Py did not load.'
Expand Down

0 comments on commit 2b9970e

Please sign in to comment.