[Jprogramming] Tacit vs. Explicit

Gian Medri gianmedri at gmail.com
Wed Oct 5 17:19:54 HKT 2011


Hi!
 I have a function:
bestfit=:(],0{&<.&<.0.5+(1+0.01*(?30)-15)*(((+/ % #)*1+#)-(+/)))
that calculates the n+1 element.
bestfit 90 90 90
90 90 90 81
The tacit form doesn't work properly, because the "?" is not active every
time I call bestfit 90 90 90.
When I use
(],0{&<.&<.0.5+(1+0.01*(?50)-25)*(((+/ % #)*1+#)-(+/))) 90 90 90
 then the function works properly.

My question is if it is possible to have a tacit verb with the "?" active.

Thanks

Gian Medri


More information about the Programming mailing list