home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Shareware - Software Farm 2
/
wosw_2.zip
/
wosw_2
/
CPROG
/
TILER.ZIP
/
DEMO.ZIP
/
DEMODRAW.BAS
next >
Wrap
BASIC Source File
|
1992-02-24
|
468b
|
20 lines
' When it opens the file it reads drive C.
' If you are running it off a different drive
' then change the drive.
OPTION BASE 1 'Make arrays start at 1
DIM pict%(500) 'Array to hold tile
OPEN "C:\TILER\DEMO\FIGHTY.CLP" FOR BINARY AS #1 LEN = 2 'Open file
FOR ctr% = 1 TO 244 STEP 2
GET #1, (ctr%), pict%((ctr% + 1) / 2) 'Fill array
NEXT ctr%
SCREEN 13 'Change screen mode
PUT (100, 100), pict%, PSET 'Put tile on screen