Sign in Join

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

Mailing lists / pas2js / 2020-10

demoloadstreamfromurl question

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Mgr. Janusz Chmiel

When I have tried to work with files, I had no chance to work with them. But I have found interesting example. demoloadstreamfromurl located in

C:\pas2jstrunk\demo\rtl
Is it possible also to write so The file? Or unfortunately, files can be only read by this technique?
If files can be read, it would be possible to load several MB ASCII text file with dictionary, if string variable can contain so much text. For now, I will be even glad, if files could be read or write to it from The same folder on A harddisk when .js and .html file with running app will exist.
Thank you very much that you have added this stream type support to read from file.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20201005/f74184ed/attachment.htm>

Reply by email

Michael Van Canneyt
to Mgr. Janusz Chmiel
Mgr. Janusz Chmiel wrote 6 lines
When I have tried to work with files, I had no chance to work with them. But I have found interesting example. demoloadstreamfromurl located in C:\pas2jstrunk\demo\rtl Is it possible also to write so The file? Or unfortunately, files can be only read by this technique?

Only reading is supported.

Michael.

Reply by email