kretzschmar
asked on
qow 10: What does var, const, ... declarations in proc/function-Parameters?
hi experts,
i am starting a new quest: qow = question of the week :-)
each week i will introduce a new simple? question.
now qow 10
the first working solution will get the points (a graded).
sorry, top 15 experts, you are not allowed to solve this
q, only other can solve this question :-(
well the question is:
What does var, const, ... declarations in proc/function-Parameters, what is the effect?
an explaination is needed
let see
meikl ;-)
i am starting a new quest: qow = question of the week :-)
each week i will introduce a new simple? question.
now qow 10
the first working solution will get the points (a graded).
sorry, top 15 experts, you are not allowed to solve this
q, only other can solve this question :-(
well the question is:
What does var, const, ... declarations in proc/function-Parameters, what is the effect?
an explaination is needed
let see
meikl ;-)
You are either bored, or have nothing to do with your points :P
ASKER
>or have nothing to do with your points :-)
yep, but thats not an answer for my q :-P
yep, but thats not an answer for my q :-P
Sheesh I'm bored too :)
var = pass by reference
procedure/function gets a reference to the caller's value rather than a copy. This means the procedure/function can modify the caller's value.
const = constant
procedure/function cannot modify the value that is passed to it. This also means that you cannot pass the const parameter as a var parameter to another procedure/function.
var = pass by reference
procedure/function gets a reference to the caller's value rather than a copy. This means the procedure/function can modify the caller's value.
const = constant
procedure/function cannot modify the value that is passed to it. This also means that you cannot pass the const parameter as a var parameter to another procedure/function.
ASKER
well, looks good, zebada
don't be bored, its just a quest.
any other declarations possible?
what the bahavaiourm if no one (var, const,..) is given?
meikl ;-)
don't be bored, its just a quest.
any other declarations possible?
what the bahavaiourm if no one (var, const,..) is given?
meikl ;-)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
well, zebada,
just complete and correct :-)
thanks for participating on this quest.
next week a new ?simple question
meikl ;-)
just complete and correct :-)
thanks for participating on this quest.
next week a new ?simple question
meikl ;-)