FYI there is a verb boxdraw_j_ in stdlib.

Пн, 19 май 2014, David Lambert писал(а):
> My email system peppers j forum mail with question marks. 40% of the j
> session characters in a recent post came to me as question marks. As has
> been previously mentioned, changing the box drawing characters might help to
> alleviate the problem. Hence I offer this box character toggling verb, which
> I hope we'll use when preparing forum messages. Thank you.
> 
> V=:'(9!:7)@:(( 11{.16}.a.)&[^:(''+'' = '
> V=:V,'{.@:(9!:6)@(0&$)))''+++++++++|-'''
> 
> bs=: 3 :V NB. niladic box switch
> 
> bs'' NB. example use
> 
> 
> a: [ bs '' NB. demonstrate the effect
> ┌┐
> ││
> └┘
> a: [ bs ''
> ++
> ||
> ++
> a: [ bs ''
> ┌┐
> ││
> └┘
> 
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to