Sign in Join

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

Mailing lists / pas2js

pas2js · 2021-06

  1. Generic procedure type declaration

    I tried to find in the FPC documentation how to declare a generic procedure type, but i didn't find out. What I'm trying to declare is something like this:…

    Henrique Gottardi Werlang, Michael Van Canneyt, Sven Barth
    2
  2. RES: Pas2js Digest, Vol 39, Issue 2

    Thanks for the replys! I suggested this because I'm implementing an API in Delphi. And in Delphi there is nothing equivalent to JSValue. Of course, you could declare any…

    Henrique Gottardi Werlang
    0
  3. RES: Pas2js Digest, Vol 39, Issue 1

    Unit MyTest; procedure Run; async; begin // do something... end; begin run()._then(function (a : jsvalue) : jsvalue begin end); end. In the line "run()._then(function (a…

    Henrique Gottardi Werlang, Mattias Gaertner, Michael Van Canneyt
    5