Hi guys I have the below verb annmatch and would like to make it a dyad
the noun bals is what I want to replace with an X value so I can make
this more flexible and not tied to bals ; just not exactly sure how to
go about it ; hope I'm making sense and using the appropriate j-language
here.

Any direction would be appreciated 

annmatch=: 3 : 0 
countmatches=: a:
for_a.
  y
do. countmatches=: countmatches,(<( {: /:>(+/ each a e. each bals)))
end.
}.countmatches
)

thanks
John


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, 28 August 2008 1:30 PM
To: [email protected]
Subject: Programming Digest, Vol 35, Issue 59

Send Programming mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://www.jsoftware.com/cgi-bin/mailman/listinfo/programming
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Programming digest..."
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to