View Issue Details

IDProjectCategoryView StatusLast Update
0035895FPCDocumentationpublic2019-08-24 13:31
ReporterSven BarthAssigned ToMichael Van Canneyt 
PrioritynormalSeverityminorReproducibilityN/A
Status resolvedResolutionfixed 
Product Version3.0.4Product Build 
Target VersionFixed in Version3.3.1 
Summary0035895: Improve documentation of untyped parameters
DescriptionAs the discussion on the forum ( https://forum.lazarus.freepascal.org/index.php/topic,46185.msg328613.html#msg328613 ) the behaviour of untyped parameters is not necessarily understood and the documentation is rather vague about them with only a bit of information inside "Variable parameters" ( https://www.freepascal.org/docs-html/current/ref/refsu65.html#x177-19900014.4.2 ) and a reference to that from "Constant parameters".
I think the topic deserves it's own chapter especially as they can use the three parameter modifiers const, var and out and their behavior is different from usual parameters (e.g. the ability/need to pass PointerVar^ as can be seen with FillChar or Move).
TagsNo tags attached.
Fixed in Revision1640
FPCOldBugId
FPCTarget3.2.0
Attached Files

Activities

Michael Van Canneyt

2019-08-24 13:31

administrator   ~0117825

Added a section that is more elaborate. Please check if all is correctly described.

Issue History

Date Modified Username Field Change
2019-07-27 10:47 Sven Barth New Issue
2019-07-27 10:47 Sven Barth Status new => assigned
2019-07-27 10:47 Sven Barth Assigned To => Michael Van Canneyt
2019-08-24 13:31 Michael Van Canneyt Status assigned => resolved
2019-08-24 13:31 Michael Van Canneyt Resolution open => fixed
2019-08-24 13:31 Michael Van Canneyt Fixed in Version => 3.3.1
2019-08-24 13:31 Michael Van Canneyt Fixed in Revision => 1640
2019-08-24 13:31 Michael Van Canneyt FPCTarget => 3.2.0
2019-08-24 13:31 Michael Van Canneyt Note Added: 0117825