> When no modifier is applied (var, const,...) the behavior is 
> deterministic or can change from platform to platform, or by ABI ?

Deterministic. Pointer based values (Classes, Interfaces) are passed by
reference. Others are by value. An exception to Ansi- and Wide- Strings,
they're passed by reference but when a modification is done the copy on
write semantics will make a copy thus simulating the pass by value. The one
I'm not sure is Dynamic Arrays.

--
View this message in context: 
http://free-pascal-general.1045716.n5.nabble.com/constref-question-tp3410272p3412692.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to