mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 13:09:32 +02:00
pas2js: docs: record const
git-svn-id: trunk@38870 -
This commit is contained in:
parent
01ccfbcf61
commit
994167481d
@ -663,8 +663,8 @@ function(){
|
||||
<ul>
|
||||
<li>The record variable creates a JavaScript object.</li>
|
||||
<li>Variant records are not supported.</li>
|
||||
<li>Supported: Assign, pass as argument, equal, not equal, array of record, pointer of record.</li>
|
||||
<li>Not yet implemented: Constants, advanced records, operators.</li>
|
||||
<li>Supported: Assign, pass as argument, equal, not equal, array of record, pointer of record, const.</li>
|
||||
<li>Not yet implemented: advanced records, operators.</li>
|
||||
<li>When assigning a record it is cloned. This is compatible with Delphi and FPC.</li>
|
||||
<li>Since record types are JS objects it is possible to typecast a record type
|
||||
to the JS Object, e.g. TJSObject(TPoint)</li>
|
||||
|
Loading…
Reference in New Issue
Block a user