This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Mar 20th, 2010  |  syntax: Bash  |  size: 0.49 KB  |  views: 110  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. dim logo [100]
  2.  
  3. for r=  0 to 99
  4.         a$="Media/logo"+r
  5.         a$=a$+".bmp"
  6.  
  7.         LOADSPRITE    a$, logo[r]
  8.  
  9. next
  10.  
  11.  
  12.  
  13. will not work
  14.  
  15. DIM logo [99]
  16.    
  17.        
  18.    
  19.       FOR r=  1 TO 40
  20.    
  21.       a$="Media/logo"+r
  22.    
  23.       a$=a$+".bmp"
  24.    
  25.        DEBUG a$
  26.        DEBUG "    "+CHR$(13)+CHR$(10)
  27.    
  28.       LOADSPRITE    a$, r // logo [r] -> not ok
  29.    
  30.        
  31.    
  32.       NEXT
  33.  
  34.         FOR r = 1 TO 40
  35.         DRAWSPRITE r,10,10+r    // logo [r]  -not ok
  36.         NEXT
  37.         SHOWSCREEN
  38.         SLEEP 20000
  39.         END
clone this paste RAW Paste Data