[Pas2js] RES: Pas2js Digest, Vol 57, Issue 1
Henrique Gottardi Werlang
henriquewerlang at hotmail.com
Tue Apr 25 12:26:51 CEST 2023
Yes!
After I sended this e-mail, I found the info about the -Tmodule. But doesn’t work for me, because forces the -Fc, and I need the project in single files.
I will make a workaround to this.
Thanks for the reply!
De: pas2js-request at lists.freepascal.org<mailto:pas2js-request at lists.freepascal.org>
Enviado:terça-feira, 25 de abril de 2023 07:00
Para: pas2js at lists.freepascal.org<mailto:pas2js at lists.freepascal.org>
Assunto: Pas2js Digest, Vol 57, Issue 1
Send Pas2js mailing list submissions to
pas2js at lists.freepascal.org
To subscribe or unsubscribe via the World Wide Web, visit
https://bra01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freepascal.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fpas2js&data=05%7C01%7C%7C4b65346d2bc941456e2408db4573dcbb%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638180136173705511%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ljDwh7%2BRKcxmkURtek6olaEc27p0MoRGLmxYltOL%2BxU%3D&reserved=0<https://lists.freepascal.org/cgi-bin/mailman/listinfo/pas2js>
or, via email, send a message with subject or body 'help' to
pas2js-request at lists.freepascal.org
You can reach the person managing the list at
pas2js-owner at lists.freepascal.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Pas2js digest..."
Today's Topics:
1. How I use de Linklib? (Henrique Gottardi Werlang)
2. Re: How I use de Linklib? (Michael Van Canneyt)
----------------------------------------------------------------------
Message: 1
Date: Mon, 24 Apr 2023 19:30:10 +0000
From: Henrique Gottardi Werlang <henriquewerlang at hotmail.com>
To: "pas2js at lists.freepascal.org" <pas2js at lists.freepascal.org>
Subject: [Pas2js] How I use de Linklib?
Message-ID:
<CP4P284MB17317E3E9A23C66297929BCFB2679 at CP4P284MB1731.BRAP284.PROD.OUTLOOK.COM>
Content-Type: text/plain; charset="windows-1252"
I trying the linklib directive, and the import don?t apper in the JS file.
I tried like this
{$linklib MyLibFile.js MyLib}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://bra01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.freepascal.org%2Fpipermail%2Fpas2js%2Fattachments%2F20230424%2Fc9549c42%2Fattachment-0001.htm&data=05%7C01%7C%7C4b65346d2bc941456e2408db4573dcbb%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638180136173705511%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=lAwtAtPJuyMRFlqSwJUwf5haXwmv%2BE13eIHrUcrE1Zg%3D&reserved=0<http://lists.freepascal.org/pipermail/pas2js/attachments/20230424/c9549c42/attachment-0001.htm>>
------------------------------
Message: 2
Date: Tue, 25 Apr 2023 08:23:18 +0200 (CEST)
From: Michael Van Canneyt <michael at freepascal.org>
To: Henrique Gottardi Werlang via Pas2js <pas2js at lists.freepascal.org>
Subject: Re: [Pas2js] How I use de Linklib?
Message-ID: <alpine.DEB.2.22.394.2304250817240.3586198 at home>
Content-Type: text/plain; charset="windows-1252"; Format="flowed"
On Mon, 24 Apr 2023, Henrique Gottardi Werlang via Pas2js wrote:
> I trying the linklib directive, and the import don?t apper in the JS file.
>
> I tried like this
>
> {$linklib MyLibFile.js MyLib}
>
Imports only work in modules in the browser, or in NodeJS.
So Linklib only works when the target is module or nodejs. Assuming you work
in the browser, did you set -Tmodule ?
Michael.
------------------------------
Subject: Digest Footer
_______________________________________________
Pas2js maillist - Pas2js at lists.freepascal.org
https://bra01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freepascal.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fpas2js&data=05%7C01%7C%7C4b65346d2bc941456e2408db4573dcbb%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638180136173705511%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ljDwh7%2BRKcxmkURtek6olaEc27p0MoRGLmxYltOL%2BxU%3D&reserved=0<https://lists.freepascal.org/cgi-bin/mailman/listinfo/pas2js>
------------------------------
End of Pas2js Digest, Vol 57, Issue 1
*************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20230425/5098d58b/attachment.htm>
More information about the Pas2js
mailing list