home *** CD-ROM | disk | FTP | other *** search
/ AMOS PD CD / amospdcd.iso / 451-475 / apd453 / sprite_width.amos / sprite_width.amosSourceCode
AMOS Source Code  |  1993-01-08  |  329b  |  9 lines

  1. ' This procedure will find out the width of any sprite.  
  2. ' Simply call the procedure and tell it what sprite number. eg.  
  3. ' To find out sprite #2 width  
  4. ' Proc _SPRITE_WIDTH_[2] 
  5. ' And then read the answer back. 
  6. ' WIDTH=Param  
  7. Procedure _SPRITE_WIDTH_[NUMBER]
  8. 'written by Brett George 
  9. End Proc[Deek(Sprite Base(NUMBER))*16]