27.01.2020 5:00, Julian Fondren:
   #! /usr/bin/env ijconsole
   dot =: 3 : '''.'' 1!:3 <''/proc/self/fd/1'''
hardwork =: 3 : 0
     n =. 0
     for_i. i.100 do.
       dot''
       n =. n + 2 | !!8x
     end.
     n
   )
   echo hardwork''
   exit 0

Great! Thank you!
I slightly modified your function:

print =: 3 : 'y 1!:3 <''/proc/self/fd/1'''

Is there any difference in using 1!: 2 and 1!: 3 for the screen?
I have not found.

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

Reply via email to