Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2000-09

Re: (no subject)

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Petr Titera
The problem is that const parameters are passed by reference (ie. the address of the value is pushed instead of the value itself). Function results do not have an address.

Bu function results have addresses. If I allocate for example string in function, it have some address (at least on some stack).

Show quoted text 7 lines
Jonas _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email