[Pas2js] Resource strings, part 2
warleyalex
warleyalex at yahoo.com.br
Sun Jul 21 01:18:47 CEST 2019
For instance, when you compile a program,
pas2js -Jrprogram data.pp -B
It will generate an external file, e.g. "data.jrs", with all used resource
strings for the main file and all the units it uses.
Now, let's suppose, when you compile a program, with the option
pas2js -Jrprogram data.pp -MainHTML
...the compiler it will auto add inline JSON data at main HTML file for you,
all the used resource strings (*.jrs), all forms streams (*.wfm), the
compiler will generate several script type ="application/json" for each
resource with custom data/id tag.
--
Sent from: http://pas2js.38893.n8.nabble.com/
More information about the Pas2js
mailing list