TEXT 100,100,"3",0,1,1,"EXAMPLE PROGRAM"
PRINT 1
EOP
Note: When writing a download program, “ DOWNLOAD” header must be placed
in the beginning of file, and “EOP” must be placed at the end of program.
To run the program, call the main filename without BAS extension or use RUN
command to start the download program.
Example:
Call the main filename
C:\>COPY CON LPT1<ENTER>
EXAMPLE<ENTER>
<CTRL><Z>
C:\>
Use Run command to start the program
C:\>COPY CON LPT1<ENTER>
RUN "EXAMPLE.BAS"<ENTER>
<CTRL><Z>
C:\>
Below is an example of downloading data file.
DOWNLOAD "DATA",20,COMPUTER<Enter>
2001<Enter>
21<Enter>
Note: <ENTER> stands for keyboard “ ENTER” key. In the above example,
please press “ENTER” key instead of typing <ENTER>
See Also
EOP, RUN, PUTBMP, PUTPCX, INPUT