mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 10:29:24 +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">
|
<div class="section">
|
||||||
<h2 id="varargs">The procedure modifier varargs</h2>
|
<h2 id="varargs">The procedure modifier varargs</h2>
|
||||||
Appending the <b>varargs</b> modifier to a procedure allows to pass arbitrary
|
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.
|
either <i>JSArguments</i> from unit JS or an <i>asm..end</i> block.
|
||||||
<table class="sample">
|
<table class="sample">
|
||||||
<tbody>
|
<tbody>
|
||||||
|
Loading…
Reference in New Issue
Block a user