GetDllQuantity
Quantity = GetDllQuantity()
 
Parameters: NONE
Returns:

    Quantity = The number of DLLs that PB currently has provision for
 

      The GetDllQuantity() function returns the max number of DLLs that PlayBASIC will allow.



FACTS:


      * While a command sets Get-Quantity command will return the Media Quantity of this command set. Not all command sets, allow you dynamically resize the media quantity yourself.




Mini Tutorial:


      This example displays the default media quantity values of various command sets.

  
; Display the Media Quantity Values of various command sets
  
  Print "  Max Banks:"+Str$(GetBankQuantity())
  Print "Max Cameras:"+Str$(GetCameraQuantity())
  Print "   Max Dlls:"+Str$(GetDllQuantity())
  Print "  Max DLLs:"+Str$(GetFileQuantity())
  Print "  Max Fonts:"+Str$(GetFontQuantity())
  Print " Max Images:"+Str$(GetImageQuantity())
  Print "   Max Maps:"+Str$(GetMapQuantity())
  Print " Max Musics:"+Str$(GetMusicQuantity())
  Print "Max Sprites:"+Str$(GetSpriteQuantity())
  Print " Max Shapes:"+Str$(GetShapeQuantity())
  Print " Max Sounds:"+Str$(GetSoundQuantity())
  Print " Max Worlds:"+Str$(GetWorldQuantity())
  
; Show the user the screen and wait for a key to be pressed
  Sync
  WaitKey
  



Example output. Note: The output depends upon what version of PB your running, so the results may differ.

  
  Max Banks:1024
  Max Cameras:16
  Max Dlls:256
  Max DLLs:64
  Max Fonts:64
  Max Images:1500
  Max Maps:128
  Max Musics:64
  Max Sprites:1500
  Max Shapes:500
  Max Sounds:1024
  Max Worlds:64
  


 
Related Info: GetBankQuantity | GetCameraQuantity | GetFileQuantity | GetFontQuantity | GetImageQuantity | GetMapQuantity | GetMusicQuantity | GetShapeQuantity | GetSoundQuantity | GetSpriteQuantity | GetWorldQuantity :
 


(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com