Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 1 -------- le 28/09/2008 @ 19:07 par aldweb
visiteur |
Hello Ashley,
ViziBasic uses the MegaString to elaborate a DOC file, using the DOC structure. Be careful to include a header record to the DOC file, description may be found here: http://wiki.mobileread.com/wiki/DOC (iziBasic only works with uncompressed DOC format, so the first bytes should be set to 1, meaning CHR$(1)). All other records store the content of the source code, in plain text records.
Then, ViziBasic calls a quick PP applet to change the file type to TEXt and the creator ID to REAd.
Then, to pass the DOC file to iziBasic, it just does the following code: A$=CHR$(3)+CHR$(13)+"MySrc.ibas" RUN "iziBasic",A$
Does that help you enough?
Cheers, aldweb
|