[Pas2js] i need simple WEB apps creation unit

Michael Van Canneyt michael at freepascal.org
Sat Aug 22 15:31:11 CEST 2020

On Sat, 22 Aug 2020, Mgr. Janusz Chmiel wrote:

> Dear MR Canneyt,
> 	Thank you that you have contacted The author of Webcrt unit. I hope,
> that it will be really possible to use this unit in combination with Pas2js
> without The need to use server CGi hosting somewhere or run it virtually by
> using compiled Pascal source code on a console.

For what it is worth: if you include the "browserconsole" unit in your
program, then write and writeln will just work.

I'm still looking for a good idea to implement a read(ln).
There is a Javascript class that emulates a vt100 in the browser
(shellinabox uses it) , but it is a little obtuse...


More information about the Pas2js mailing list