NB. increase b(efore) to from 0 to 10 and a(fter) from 222 to 490showmore =: 1 : 0s =. (9!:36)''(9!:37) 0 256 10 490try.r =. u ycatch.stderr 13!:12''r =. ''end.(9!:37) sr)
(9!:36)'' NB. show default values (b = 0, a = 222)
0 256 0 222
,. showmore i.222 NB. displays every line as expected
0
1
2
... NB. I chopped it for email
219
220
221
,. showmore i.223
... NB. <-- Why does J still use default b and a values and chopped here?
1
2
3
... NB. I chopped it for email
220
221
222
To unsubscribe from this group and stop receiving emails from it, send an email to forum+un...@jsoftware.com.
Have you looked at files and component files in the Primer?
Gaëtan
┌────┐
│test│
└────┘
In J:load'jfiles'f =. 'foo.txt'jcreate f1(<'test') jappend f0In bash:$ xxd -g1 foo.txt...000006f0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2000000700: e3 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 ................00000710: 04 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 ................00000720: 04 00 00 00 00 00 00 00 74 65 73 74 00 00 00 00 ........test....00000730: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20Nope. Plain text editor can't view it.
18In bash:$ xxd -g1 bar.txt00000000: 2b 2d 2d 2d 2d 2b 7c 74 65 73 74 7c 2b 2d 2d 2d +----+|test|+---00000010: 2d 2b