[Jprogramming] Sets please help
km
km at math.uh.edu
Tue Nov 19 14:46:46 UTC 2013
I get
set NB. Argument y should be a box or list of boxes
[: /:~ ~.
set 0;1
+-+-+
|0|1|
+-+-+
set <0
+-+
|0|
+-+
set <'' NB. no space between quotes
++
||
++
set <' ' NB. space between quotes
+-+
| |
+-+
Also
'' -: set '' NB. No space between quotes in either pair of them
1
Here the argument to verb set is an empty list which I can regard as a list of boxes.
--Kip Murray
Sent from my iPad
> On Nov 19, 2013, at 5:15 AM, Brian Schott <schott.brian at gmail.com> wrote:
. . .
> In both proposals a difficulty arises with the execution of the following
> instruction because a set with the sole element "blank" is different from
> Empty. But I don't know a remedy.
>
> set <''
>
>
> --
> (B=)
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
More information about the Programming
mailing list