[fpc-devel] Proposal: In-out-parameters

_-jane-_ at web.de _-jane-_ at web.de
Mon Aug 9 15:18:04 CEST 2010


Hello Michael!

You wrote 2010-08-09 [Proposal: Enhanced replacement for assignment operators]:
> BTW.: are there "inout" Parameters that are set on entry and written on 
> exit of a procedure, but not modified during the course of the procedure ?

One could propose a new kinds of parameter transmission: copy-in-copy-out and copy-out.
In Ada this is a valid method to transmit scalar parameters (as a alternative to reference ("var") parameters).
See http://archive.adaic.com/standards/83lrm/html/lrm-06-02.html
These kinds of parameter transmission can be used for properties.

Jasper
___________________________________________________________
Neu: WEB.DE De-Mail - Einfach wie E-Mail, sicher wie ein Brief!  
Jetzt De-Mail-Adresse reservieren: https://produkte.web.de/go/demail02



More information about the fpc-devel mailing list