Browse Source

fcl-passrc: varargs of type

git-svn-id: trunk@43326 -
Mattias Gaertner 5 years ago
parent
commit
5ea4233ca4
1 changed files with 4 additions and 1 deletions
  1. 4 1
      utils/pas2js/docs/translation.html

+ 4 - 1
utils/pas2js/docs/translation.html

@@ -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>