I have a quick question, I hope I will not have to resort to registration on some new for me forum...
I am trying to understand, what parameters exactly do in Pascal functions.
My latest understanding is, that whatever is later (after declaration, in actual code) written in place of parameter, it is used as DATA INPUT ONLY. The only way for data to exit is through "Result :=". Have I understood it correctly? Nowhere I search I find a definite answer.
I am trying to understand, what parameters exactly do in Pascal functions.
Code:
Function do_something(params) : DataTyoe;
Comment