DeleteSpriteLocals
DeleteSpriteLocals SpriteNumber
 
Parameters:

    SpriteNumber = The Index of the sprite you wish to remove the local data from
Returns: NONE
 

     DeleteSpriteLocals removes a local memory bank from a sprite.



FACTS:


      * none



Mini Tutorial:


      This example creates and deletes a local data bank from a sprite.


  
; Create a Sprite
  CreateSprite 1
  
; Attach a Local data area, 10 bytes long
; to this sprite
  CreateSpriteLocals 1,10
  
  
; Delete this sprites local data.
  DeleteSpriteLocals 1
  
; Display the screen and wait for a key press
  Sync
  WaitKey
  
  



This example wouldoutput something like this.

  
  no Text output
  


 
Related Info: CreateSpriteLocals | GetSpriteLocalSize :
 


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