NB. client2
NB.
NB. This is an example of a client for a J DDE server using script:
NB.    system\packages\server2.ijs
NB.
NB. Method: first load another copy of J, and run the server2 script.
NB.         (you can set up an icon/shortcut to do this)
NB.         then run this script. Use cmd to send commands.
NB.
NB. to sign off:   cmd 'off'

NB. define verb to send command, and request response:
cmd=: 3 : 0
wd 'ddepoke jserver top item *',":y.
try. wd 'ddereq jserver top item'
catch. i.0 0
end.
)

cmd '+/\i.10'
