|
|
| ShapeQuantity | ||
| ShapeQuantity NumberOfShapes | ||
| Parameters: NumberOfShapes = The max number of Shapes that PB should handle |
||
| Returns: NONE | ||
ShapeQuantity lets you expand the max number Shapes available. So if you ever run out of shapes, you can request more at any time. It's worth knowing that the dynamic commands such as GetFreeShape, NewShape etc will automatically expand the shape table for you. FACTS: * Shape quantity indexes is limited to 2^24 (over 16 million). * use ShapeQuantity 1 to shrink the shape table to it's smallest size, if minimizing memory is absolutely required. Mini Tutorial: This example runs through and creates all available banks (the default limit),it then resizes then internal max and displays the info back to the user.
This example would output (This depends upno what version of PB your running, so the result may differ).
|
| Related Info: | GetFreeShape : |
|
|
|||||||||||||||||||||||||||||||||||||||
|
(c) Copyright 2002 - 2026 - Kevin Picone - PlayBASIC.com |