mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 09:09:30 +02:00
fcl-passrc: varargs of type
git-svn-id: trunk@43326 -
This commit is contained in:
parent
e64ea172c2
commit
5ea4233ca4
@ -2506,7 +2506,10 @@ function(){
|
||||
<div class="section">
|
||||
<h2 id="varargs">The procedure modifier varargs</h2>
|
||||
Appending the <b>varargs</b> modifier to a procedure allows to pass arbitrary
|
||||
more parameters to a function. To access these non typed arguments use
|
||||
more parameters to a function. By default these parameters are untyped, i.e.
|
||||
any type fits. Alternatively you can use <b>varargs of aType</b> to allow
|
||||
only specific types.<br>
|
||||
To access these arguments use
|
||||
either <i>JSArguments</i> from unit JS or an <i>asm..end</i> block.
|
||||
<table class="sample">
|
||||
<tbody>
|
||||
|
Loading…
Reference in New Issue
Block a user