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

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