How to Use "!C/P Script" MPW Script File, Macintosh QuickBASIC (59322)






This article was previously published under Q59322

SUMMARY

The steps below explain how to use the MPW (Macintosh Programmer's Workshop) script file included with Microsoft QuickBASIC Version 1.00 for the Apple Macintosh.

MORE INFORMATION

(Note: MPW is by Apple Computer, Inc.)

There is an MPW script file, "!C/P Script", included with Macintosh QuickBASIC on the Examples disk in the following directory:

User Libraries:MBPC Rsrcs

The following steps explain how to use the commands in the script file:

Note: It is assumed that you have installed MPW Version 3.00 on your machine. Refer to the MPW documentation to see how to do this.

  1. Go to the directory "User Libraries:MBPC Rsrcs," and double-click the script file "!C/P Script." This starts the MPW shell and loads in the script file.
  2. In MPW, choose Set Directory from the Directory menu. This brings up the Select Current Directory dialog box. Highlight (single click) the directory name appropriate for the language that you want to work in as follows:

    1. MPWC PCR for the C language
    2. MPWP PCR for Pascal
  3. Once the appropriate folder is highlighted, click the Directory button. This causes MPW to use the correct folder for finding the correct source code.
  4. Highlight the compilation command line for the file that you want to compile. Note: Some command lines run past one line, in which case, highlight all of the lines for that particular command.
  5. Press the ENTER key on the numeric keypad (the RETURN key does not work the same as the ENTER key in this case).
  6. Repeat Steps 4 and 5 for each compile and link line to be executed.

Modification Type: Minor Last Reviewed: 1/9/2003
Keywords: KB59322