On 8/27/2009 2:59:21 PM, ElSid wrote:
== Your work, in between the "purple" dashed
lines, points me in the direction I was looking
for [Multiple simultaneous solutions]. I am
looking to understand the fundamentals between a
"function call" and a "function definition
argument list".
A function definition has form
f(x,y,z):= ...
where f is the function name and x,y,z is the
argument list
A function call is simply where you evaluate the
function with some values taking the place of the
argument list, eg, f(1,2,4) or f(u,v,w)
You have a function definition of the form
f(x,g(y),z):= ....
You cannot define a function with a function call,
that is g(y), as one of the arguments. You could
do something like,
f(x,g,y,z):= t<-g(y) ....
hence passing both y and the function name g for f
to evaluate internally.
Stuart