Many thanks for your very helpful answer! :)

------ Originalnachricht ------
Von: "Linda Alvord" <[email protected]>
An: [email protected]
Gesendet: 29.08.2014 11:04:24
Betreff: Re: [Jprogramming] Copy & Paste

Sebastian, J has two environments and they are quite different, but they are both also similar. Each has a an active "terminal". Cut and paste is line by line as the terminal responds like a person. The dialog is enter,
response, enter..

Each has a place for putting code. In jqt the choices are: open temp and new temp. This is where you paste many lines of code. When you enter new temp you are in a place to paste your long lines. It is different. You are in a place like a word processor for writing letters or email. You cut and paste happily. When it is correct, use run with all sorts of choices to use line by line or all at once. When you run, the response lands back in the terminal and you can continue until you need to edit again... Your code is now saved as a temp file called 1.ijs. When you like it you can save as...

However, in jhs things seem rather different at first. Once you have a
console working and j installed you are in a browser like chrome. You start
with link: the two choices are ijix and ijis. Ijix is the same as term.
So this is where you have a dialog. ijis is for a script like temp above.
If you now go to ijis you will get 2.ijs because you already have saved
1.ijs. There are fewer choices now, but they should make sense.

Interestingly you can now open 1.ijs and run it in your browser. You cut
and paste here in ijis and save and run.

If you get something you want to share, I seem to have better luck when I cut a paste results from ijix when I want to put the results in an email.

Once you digest all this please let us know when you hit another challenge.

Linda

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]
Sent: Friday, August 29, 2014 4:14 AM
To: [email protected]
Subject: [Jprogramming] Copy & Paste

Hi,

How can I actually copy and paste J scripts to a term window and execute the code directly. So far I copied small scripts (only a few lines) line
per line, but this is not a really solution and now I have to copy
scripts with many lines.

Best regards,
Sebastian
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to