Send an unknown method call: Difference between revisions

→‎{{header|Picat}}: code tag for functions
(→‎{{header|Picat}}: code tag for functions)
Line 534:
 
=={{header|Picat}}==
For functions use <code>apply/n</code> and for predicates <code>call/n</code>. The name of the function/predicate must be an atom, and strings must be converted to atom, e.g. with <code>to_atom/1</code>.
<lang Picat>go =>
println("Function: Use apply/n"),
495

edits