[fpc-pascal] Re: Correct use of var in function calls?

leledumbo leledumbo_cool at yahoo.co.id
Fri Feb 4 15:41:24 CET 2011

FPC is Delphi compatible regarding this. Dynamic arrays are passed by
reference, so you don't need var here. Please be aware when you directly
play with dynamic array contents, since it's actually a pointer to a record
in heap and it's reference counted.
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Correct-use-of-var-in-function-calls-tp3370050p3371072.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.

More information about the fpc-pascal mailing list