I’m reporting an oddity in ZILF error reporting. But I’m not sure if I’m misunderstanding something.
Consider the following code:
<ROUTINE GO () <INIT> > <ROUTINE INIT ()>
ZILF responds with: [error MDL0226] cloak.zil:5: ROUTINE requires 3 or more args
It’s referring here to the
But you don’t need any arguments at all. (Arguments being what appear in the parentheses.) What apparently you need are three or more expressions. But even that’s not true. You only need one. Consider:
<ROUTINE GO () <INIT> > <ROUTINE INIT () <CRLF> >
That compiles just fine. As I go through writing tutorials for ZILF and ZIL, I’m finding lots of little oddities so I’m trying to see where my expectations are incorrect, particularly about terminology.