Yes: eg

NB. in your script,  say

foo =: {{
   x + y
}}"0 1          NB. just as an example! (Not necessarily a sensible use of rank!)

NB. displaying it in the terminal session;  direct definition functions
NB. are displayed as conventional explicit definitions

   foo
4 : '   x + y'"0 1

So the rank appears where you would have put it in the old form.

Probably in the wiki somewhere!

Mike



On 29/03/2022 17:42, P Padilcdx wrote:
Is there a way to declare the rank when using {{ }} definitions? Or is it only 
possible when defining via “:”?  Apologies if covered in the wiki and I missed 
it.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm


--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to