Msg: 3664 *Conference*

12-28-92 16:10:24

From: DREW BLANCHAR

To : GREG MOODY

Subj: REPLY TO MSG #3662 (CALLING BASIC AND RETURNING?)

Investigate the BASIC command
  
VARPTR
  
fer instance.....you can put a whole slough of commands together and hide them
to be exicuted at the end of program.
  
eg: 205 J$="NEW"+CHR$(13)+"LOAD"+
    Q+filename+Q+CHR$(13)+
    "RUN"+CHR$(13)+CHR$(0):
    J=VQRPTR(J$):
    POKE63020,PEEK(J+1):
    POKE63021,PEEK(J+2):
    END
  
where Q = CHR$(34)  quotes
  
this puts the "batch file" into variable J$ and J tells the system where to
find J$ after the system is OUT of the program.
  
Have fun.