Description
RTSSIZE is the size of the RunTimeStack memory area in bytes. Default value = 200Kb. RTSSIZE can be increased (or decreased) by supplying the -rts parameter on the commandline when VARKON is started.
Example:
-rts500000
Sets RTSSIZE = 0.5Mb
RTS is the place where VARKON keeps the values of all local variables declared in the modules currently executing. A local variable of type FLOAT only requires 8 bytes on the RTS but an indexed variable may need much more. An array of 1000 4X4 matrixes for example needs 128Kb on the RTS. RTS must be big enough to fit all local variables in a call chain. This means that if the active module calls module A and A calls B then the size of RTS must be big enough for the total sum of local variables in the active module and A and B.
Comments
If VARKON should find the RTS too small en error message is displayed stating the actual size needed. If this happens try to increase the size of RTS to the stated value as shown above.
Copyright © Microform AB Henningholmsgatan 4 S-703 69 Örebro SWEDEN E-mail: info@microform.se
VARKON Homepage | Index |