Line got truncated.... This is what I meant:
(At all points, the user must be informed in which context the execution
occurs - in the overlay language or in native J. That is
the reason for adding a prompt symbol).
~Yuva On 1/28/07, Yuvaraj Athur Raghuvir <[EMAIL PROTECTED]> wrote:
Hello Eric, Thanks! Looks like I would need more help ... This what I tried : overlay=: 3 : 0 '>' (1!:2) 2 NB. write the prompt k=.(1!:1) 1 NB. wait for input k ) Now, I load the script and can call overlay thus: overlay '' > some input some input Almost there but not quite.... 1) Why is there an additional CRLF added to the output? Can I override that behavior? 2) Just to see if the input works right, I added a backspace before the input, Then I have this... overlay '' >some input (NB. erased the CRLF through use of backspace in the session window) >some input (NB. this is the read input) which is exactly what I want. Then using }. I can get the statement I want to parse... (At all points, the user must be informed Any pointers? Regards, Yuva
---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
