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. _______________________________________________ fpc-pascal maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-pascal
- [fpc-pascal] Correct use of var in function calls? Bo Berglund
- [fpc-pascal] Re: Correct use of var in function ... leledumbo
- [fpc-pascal] Re: Correct use of var in funct... Bo Berglund
- Re: [fpc-pascal] Re: Correct use of var ... Jonas Maebe
- [fpc-pascal] Re: Correct use of var ... Bo Berglund
- Re: [fpc-pascal] Re: Correct us... michael . vancanneyt
- [fpc-pascal] Re: Correct us... Bo Berglund
- Re: [fpc-pascal] Re: Co... Michael Van Canneyt
- Re: [fpc-pascal] Re: Co... Florian Klaempfl
- [fpc-pascal] Re: Correc... Bo Berglund
- Re: [fpc-pascal] Re: Co... Florian Klämpfl
- Re: [fpc-pascal] Re: Co... michael . vancanneyt
