|
GetShapeQuantity | ||
NumberOfBanks = GetShapeQuantity() | ||
Parameters: NONE | ||
Returns: NumberOfBanks = The totaly number of shape that PB currently has provision for |
||
The GetShapeQuantity function returns the current max number of shapes that PlayBASIC will allow. FACTS: * You can expand the number of shape by using the ShapeQuantity command. It's worth knowing that, the dynamic commands such as GetFreeShape, NewShape will automatically expand the shape table for you. 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: | CreateConvexShape | CreateShape | GetFreeShape | LoadShape | NewConvexShape | NewShape | SaveShape | ShapeQuantity : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |