Explain The Three Methods Of Passing Arguments To Functions/events In Pb?
Answer»
By Value – a COPY of the variable is passed. Any changes to the value of the variable will affect the copy only, the original variable in the calling script is not affected.
By REFERENCE – a pointer to the variable is passed to the function/event. Any changes affect the original variable in the calling script.
READ-ONLY – a copy of the variable TREATED as a CONSTANT is available to the function/event.