Sign in Join

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

Mailing lists / fpc-pascal / 2017-10

JavaScript versions of pascal RTL functions (FormatFloat, DateToStr etc)

10 messages · 6 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Luiz Americo Pereira Camara

Hi,

I'm developing an app were the client is written in Javascript + HTML and the backend in pascal (fpc)

I'd like to use my pascal knowledge of RTL functions, mostly utils (FormatFloat, DateToStr etc) in the client app

Do you know any implementation of such functions, with similar signatures, in JavaScript?

Luiz

Reply by email

Michael Van Canneyt
to Luiz Americo Pereira Camara
Luiz Americo Pereira Camara wrote 10 lines
Hi, I'm developing an app were the client is written in Javascript + HTML and the backend in pascal (fpc) I'd like to use my pascal knowledge of RTL functions, mostly utils (FormatFloat, DateToStr etc) in the client app Do you know any implementation of such functions, with similar signatures, in JavaScript?

In december, you will be able to use pascal for your client app, using pas2js. I have ported already sysutils, classes, dateutils, strutils, contnrs and DB units. If you want, I can send you the Javascript versions of these files now.

Michael.

Reply by email

Luiz Americo Pereira Camara
to Michael Van Canneyt

Em 13 de out de 2017 19:23, "Michael Van Canneyt"
escreveu:

On Fri, 13 Oct 2017, Luiz Americo Pereira Camara wrote

Show quoted text 5 lines
Do you know any implementation of such functions, with similar signatures, in JavaScript?

In december, you will be able to use pascal for your client app, using pas2js

Fantastic

I have ported already sysutils, classes, dateutils, strutils, contnrs and DB units. If you want, I can send you the Javascript versions of these files now.

I would be glad if you send sysutils and dateutils

Luiz

Reply by email

Mr Bee
to Michael Van Canneyt: In december, you will be able to use pascal for your client app, using pas2js. I have…

Wow… that's really a great news, Michael! Thank you. I can't wait for it to be released officially. :)

2017-10-14 5:22 GMT+07:00 Michael Van Canneyt :

Show quoted text 27 lines
On Fri, 13 Oct 2017, Luiz Americo Pereira Camara wrote: Hi, > > I'm developing an app were the client is written in Javascript + HTML and > the backend in pascal (fpc) > > I'd like to use my pascal knowledge of RTL functions, mostly utils > (FormatFloat, DateToStr etc) in the client app > > Do you know any implementation of such functions, with similar signatures, > in JavaScript? > In december, you will be able to use pascal for your client app, using pas2js. I have ported already sysutils, classes, dateutils, strutils, contnrs and DB units. If you want, I can send you the Javascript versions of these files now. Michael. _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Regards, –Mr Bee

Reply by email

Michael Van Canneyt
to Mr Bee

Hello,

If you want the latest preview and demos to play with:

https://www.freepascal.org/~michael/pas2js-demo-0.8.28.zip

The component developer is doing fantastic work with the visual components, and it starts to look really good.

Michael.

Mr Bee wrote 44 lines
Wow… that's really a great news, Michael! Thank you. I can't wait for it to be released officially. :) 2017-10-14 5:22 GMT+07:00 Michael Van Canneyt : > > > On Fri, 13 Oct 2017, Luiz Americo Pereira Camara wrote: > > Hi, >> >> I'm developing an app were the client is written in Javascript + HTML and >> the backend in pascal (fpc) >> >> I'd like to use my pascal knowledge of RTL functions, mostly utils >> (FormatFloat, DateToStr etc) in the client app >> >> Do you know any implementation of such functions, with similar signatures, >> in JavaScript? >> > > In december, you will be able to use pascal for your client app, using > pas2js. > I have ported already sysutils, classes, dateutils, strutils, contnrs and > DB > units. If you want, I can send you the Javascript versions of these files > now. > > Michael. > _______________________________________________ > fpc-pascal maillist - > http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal -- Regards, –Mr Bee

Reply by email

Mr Bee
to Michael Van Canneyt: If you want the latest preview and demos to play with:…

2017-10-15 17:25 GMT+07:00 Michael Van Canneyt :

Show quoted text 9 lines
Hello, If you want the latest preview and demos to play with: https://www.freepascal.org/~michael/pas2js-demo-0.8.28.zip The component developer is doing fantastic work with the visual components, and it starts to look really good.

Thank you, Michael. But I think there are some units missing. CMIIW.

Regards, –Mr Bee

Reply by email

Mario Ray Mahardhika
You can design & code a form in delphi/lazarus and it will run 100%

in the browser.

No server needed. (obviously you can access a server if you want).

Now that's a desirable goal! I'll test the demo first.

Reply by email