home *** CD-ROM | disk | FTP | other *** search
/ Falcon 030 Power 2 / F030_POWER2.iso / ST_STE / MAGS / ICTARI05.ARJ / ictari.05 / MISC / PEXEC / HELP4YOU.TXT next >
Text File  |  1993-07-08  |  869b  |  18 lines

  1. -> Lets just say I wanted to write a small menu program, that simply
  2.   allowed the user to press 1 for this program, 2 for another, etc. How
  3.   would I go about this in assembly. What I mean is how would I load
  4.   another program, and how would I get back to the menu after the
  5.   program has finished. Would it also be possible to pass arguments to
  6.   the program, like a TTP file for example ??????. Also afterwards I
  7.   presume the memory has to be cleared, etc how exactly can this be
  8.   done.
  9.  
  10. <Ictari>
  11.  
  12. => You would use the function Pexec to load and run the program chosen.
  13.   It would return of its own accord when finished. I have included my 
  14.   own reference for Pexec - see 'Running Mode 0' for details of how to
  15.   do this. I hope it is not too concise, but "The best way to learn is..."
  16.   
  17.                         PoshPaws.
  18.