Navigation  without Java Scripts

Setting Stack Size in Visual Prolog 5.2

In the projects created by Visual Prolog beginning with the version 5.2, to specify the Stack Size, the VDE adds the "-s$(stacksize)" PDC Linker option  to the PDC Linker build script (in the script symbol linkflags). 
In the projects created by previous versions of Visual Prolog, to set Stack Size from the VDE,  a programmer can manually add "-s$(stacksize)" to the linkflags build script symbol. 

To  do this, it is necessary to select Options | Project | Make Options | Symbols and add "-s$(stacksize)" to the linkflags symbol in the activated (Symbols:) editor. 

You can check the really substituted value of "-s" PDC linker option in the build script using Options | Project | Make Options | Preview Script. Notice that here StackSize should be specified in bytes.
Note also that the STACKSIZE definitions (.DEF) file directive (if it is specified) overwrites the PDC linker option "-s[StackSizeValue]". Notice that here STACKSIZE should be specified in bytes.

For 32-bit platforms, the default Stack Size is 1024KB.