Wiki copymirror

This is a mirror of the wiki at pascal.chat. Editing, history and sign-in are there.

Porting from FPC/Delphi to pas2js

This page is for Delphians and FPC porting code to pas2js. It contains useful tips and common traps.

Numbers

Strings

Asynchronous vs Waiting

JavaScript enforces an absolute async manner of programming:

Details

A more detailed list can be found in the translation.html.file in the sources.


From the Free Pascal wiki, page "Porting from FPC/Delphi to pas2js", as it stood on 2023-03-08 after a change by Kai Burghardt, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.

Revision 1, last changed by WikiArchive .