我在嘗試example from Learning J但它不起作用。我如何寫入/讀取J中的文件? F =: 'c:\temp\demofile.xyz' NB. a filename
'some data' 1!:2 < F NB. write to file F
|file name error
| 'some data' 1!:2<F
我想它的Windows 7
如何在J編程語言中進行數組訪問?例如,使用C++作爲我的僞代碼語言: int M [100]; // declare an array called M
int j = 5; //index into the array
int y = 10; //value to store or load from the array
M[j] = y; // store y into the arr