Send an unknown method call: Difference between revisions

Content added Content deleted
(→‎{{header|Picat}}: code tag for functions)
Line 534: Line 534:


=={{header|Picat}}==
=={{header|Picat}}==
For functions use apply/n and for predicates call/n. The name of the function/predicate must be an atom, strings must be converted to atom, e.g. with to_atom/1.
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 =>
<lang Picat>go =>
println("Function: Use apply/n"),
println("Function: Use apply/n"),