Devon wrote: > Is it this one? > bind=: 2 : 'x@(y"_)' > from stlib
Yep, that's the one. > the function gets a syntax error anyway on > the assignment of sys_timer_. I can't reproduce this. What version are you running? Also, the verb I posted had only 3 lines; the last line started with sys_timer_z_ and ended with 'C:\immex0.bmp' so watch for wrap. Henry wrote: > That's an old-style conjunction. Isn't it the same as > bind =: @: Nope. In this case, y is a noun, not a verb. Today, we would probably define bind =: 2 : 'u@(n"_)' . Concretely, bind fixes an argument to a monadic verb. For example, given S =: smoutput bind 'hello' the invocation S y will always smoutput 'hello' regardless of the value of y . Roelof wrote: > what other files have to be loaded for this to work? Only viewmat, which I assumed you already loaded. > I did what you suggested and get a syntax error > followed by a crash. I cannot reproduce this error. What version are you running? Did you watch for line-wrap too? Also, if you ever get a crash in J, please report it. (That is, post a complete, minimal script which consistently reproduces the crash.) -Dan ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
