Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / pas2js

pas2js · 2020-06

  1. Descending a Pascal class from a JS Function

    In JS the "new" operator is often used to create objects, where a function works similar to a Pascal class. pas2js trunk now supports descending a Pascal class from such…

    Mattias Gaertner
    1
  2. Pas2js 1.4.26

    I uploaded the release of pas2js 1.4.26. Changes: http://wiki.freepascal.org/Pas2JS_Version_Changes#Version_1.4.26 Snapshots:…

    Mattias Gaertner, Sven Barth, warleyalex
    3
  3. How to pass an unknown record to a function as argument?

    I use the record structure to map to a table and store/retrieve the data. type TViewsRecord = record Category : string; date : string; end; function…

    warleyalex, Mattias Gaertner, Michael Van Canneyt
    2
  4. Pas2js Digest, Vol 28, Issue 3

    This is indeed a good addition for sure! And Michael, while its not baked into the language, ezthreads comes close by offering "await" functionality as well as some…

    mister highball
    0
  5. Async, AWait

    pas2js trunk now supports async procedures and await functions. This can greatly simplify writing asynchronous code, like starting a download, handle the result,…

    Mattias Gaertner, Michael Schnell, Michael Van Canneyt
    10
  6. Preparing a next release, your opinion for the future

    We're getting closer to releasing version 2.0 of the pas2js compiler. The major highlights of that release will be: - Attributes - Generics - Async/Await support -…

    Michael Van Canneyt, Mattias Gaertner, warleyalex
    5