Topic: APLX Help : System Classes : Properties : wssize
[ Previous | Next | Contents | Index | APL Home ]

www.microapl.co.uk

The 'wssize' property


Integer scalar

Valid for: APL (child task) object

By default, a new child task is allocated the amount of workspace which you have set as the default using the Preferences dialog. The wssize property allows you to specify a different size, as a value in bytes. If you ask for a very small value, a minimum value of around 100KB will be allocated. If you ask for a very big value, the operating system may allocate a smaller value. A value of 0 means 'use the default'. You must set the wssize property before calling the Open method, but you can read it back at any time.

Note for users of APLX64: Because the System Class sub-system runs as a 32-bit application even under APLX64, special provisions apply if you are creating a 64-bit workspace bigger than 2 GB. In this case, the workspace size in bytes cannot be expressed as a 32-bit integer, so the wssize property becomes internally represented as a floating-point number. It still has to be a whole number, of course.


Topic: APLX Help : System Classes : Properties : wssize
[ Previous | Next | Contents | Index | APL Home ]