ID Number: Q81190
1.00
WINDOWS
Summary:
In Microsoft Test for Windows, there is a maximum size limit of 64K
(one segment) for a given source file. The same maximum size limit
(64K) applies to the threaded pseudocode that is generated when a
Microsoft Test script is executed.
This design feature applies to Microsoft Test for Windows version 1.0.
More Information:
Note that a Test script can consist of more than one source file by
including (with the '$Include metacommand) one file into another.
Therefore, if you run into the 64K limit for a Microsoft Test source
file, you can separate it into multiple files and use the '$Include
metacommand to include them into one main source file.
If you run into the 64K limit for generated pseudocode, you will need
to reduce the total size of your whole script. Breaking it up will not
help, because all included files are parsed into one large pseudocode
program for execution. If you are using '$Include to add an additional
source file, make sure that you have used conditional compilation
metacommands ('$Define, '$Ifdef) to make sure you have included only
code necessary for the current script. This will help reduce the size
of the pseudocode that is generated.
Additional reference words: 1.00 p-code pseudo-code