home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Otherware
/
Otherware_1_SB_Development.iso
/
mac
/
developm
/
language
/
j32.sit
/
j.rsrc
/
TEXT_1802_e..txt
< prev
next >
Wrap
Text File
|
1991-06-13
|
468b
|
21 lines
e. (Verb)
RAZE IN (_) e.y produce a boolean result that determines for each atom of y whether its open contains each item of the raze of y. For example:
] y=.'abc';'dc';'a'
+---+--+-+
|abc|dc|a|
+---+--+-+
,.y
abcdca
e.y
1 1 1 0 1 1
0 0 1 1 1 0
1 0 0 0 0 1
IN (_ _) If x has the shape of an item of y, then x e. y is 1 if x matches an item of y. In general, x e.y is (#y)>y i.x. Thus:
'cat' e. 'abcd'
1 1 0
'cat' e. 2 3$ 'catdog'
1