How to Load Programs Faster for Compilation in Mac QuickBASIC (36359)
This article was previously published under Q36359
SUMMARY
When you have a program loaded into the Macintosh QuickBASIC
environment, it is kept in memory in a compressed (tokenized) format,
even when the program is a TEXT file on disk.
A program takes longer to load into the QuickBASIC environment when
saved as TEXT because QuickBASIC must convert it into compressed
format. In compressed format, the QuickBASIC reserved words have been
recognized and converted into special tokens, and numbers have been
converted into their internal representation.
When you compile a program that is in memory, BASIC converts the
interpreter's compressed format into plain ASCII text a line at a
time, passing each line to the compiler. This decompressing process
can be slow.
To save a little time when compiling files saved in TEXT format, you
can circumvent the initial QuickBASIC environment loading wait as
described in methods 1 and 2 below.
Modification Type: |
Minor |
Last Reviewed: |
1/8/2003 |
Keywords: |
KB36359 |
|