Also, not sure if you intended to call f[(p1;p2;p3)], or f[p1;p2;p3]. Note that those 2 are different, the first one takes 1 parameter, while the second takes 3. And as @Erik Friis mentioned your f p1 p2 p3 won't work.
Hi,Here is another language lawyerly question:Usual function call syntax is like : f[(p1;p2;p3)]Then how does the interpreter know the recognize the following as a function callf p1 p2 p3 ?Then if you were to think about function in bigger complex expressions, the question becomes even more interesting ?Is there an general way to figure these correct syntax / order of evaluation questions out ?
Tel: +44 (0)28 3025 2242
Tel: +1 (212) 447 6700
Tel: +61 (0)2 9236 5700