pastojs: anonymous functions docs

git-svn-id: trunk@40530 -
This commit is contained in:
Mattias Gaertner 2018-12-12 10:24:29 +00:00
parent 93ec37a4bc
commit ac94267311
2 changed files with 5 additions and 2 deletions

View File

@ -356,6 +356,8 @@ Works:
- modeswitch OmitRTTI
- debugger;
- anonymous functions
- assign
- pass as argument
ToDos:
- do not rename property Date

View File

@ -2031,8 +2031,9 @@ rtl = {
<div class="section">
<h2 id="anonymousfunctions">Translating anonymous functions</h2>
Anonymous functions are not yet supported by pas2js. The next best thing are
local procedures. For example:
Anonymous functions are supported since pas2js 1.1.<br>
Note that in pas2js local procedures are closures as well. See below.<br>
For pas2js 1.0 the next best thing are local procedures. For example:
<table class="sample">
<tbody>
<tr>