[Jprogramming] emulating e. with +/ and =/
June Kim (김창준)
juneaftn at gmail.com
Fri Aug 31 04:59:07 UTC 2012
Hi
I'm trying to emulate e.(member in) with a combination of +/ and =/
+/ 'cd' =/ 'abcd'
0 0 1 1
+/ 'abcd' =/ 'abcd'
1 1 1 1
+/ 'ad' =/ 'abcd'
1 0 0 1
So far so good. However, when x is not an array, it gets broken:
+/ 'b' =/ 'abcd'
1
What I wanted to achieve as a result was, 0 1 0 0.
I need to normalize x before doing "=/". Is there an easy and neat way to
do that?
More information about the Programming
mailing list