| [7435] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|---|
| 2 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|---|
| 3 | <html xmlns="http://www.w3.org/1999/xhtml">
|
|---|
| 4 | <head>
|
|---|
| 5 | <title>CurrencyConverter HOWTO</title>
|
|---|
| 6 | <link rel="stylesheet" type="text/css" href="../stylesheets/styles.css" />
|
|---|
| 7 | </head>
|
|---|
| 8 |
|
|---|
| 9 | <body>
|
|---|
| 10 |
|
|---|
| 11 | <div class="title">
|
|---|
| 12 | <h1>Creating a Lisp File</h1>
|
|---|
| 13 | </div>
|
|---|
| 14 |
|
|---|
| 15 | <div class="body-text">
|
|---|
| 16 | <p>Now that you have created the nibfile that defines your
|
|---|
| 17 | application's user interface, it's time to create the Lisp
|
|---|
| 18 | source file that defines its behavior. When you work with
|
|---|
| 19 | Objective C, as in Apple's tutorial, you use Apple's XCode
|
|---|
| 20 | application to create and manage projects, to edit Objective C
|
|---|
| 21 | source files, and to build the final application. In this HOWTO,
|
|---|
| [8372] | 22 | the Clozure CL application takes the place of XCode. The Lisp
|
|---|
| 23 | project structure is much simpler than the XCode project
|
|---|
| [7435] | 24 | structure: to build the Lisp application we need only the
|
|---|
| 25 | nibfile created in the previous section, and a single Lisp
|
|---|
| 26 | source file.</p>
|
|---|
| 27 |
|
|---|
| [8372] | 28 | <p>Double-click Clozure CL to launch it. Clozure CL displays a Listener window:</p>
|
|---|
| [7435] | 29 |
|
|---|
| 30 | <div class="subtitle">
|
|---|
| 31 | <img src="../images/listener1.jpg"alt=""
|
|---|
| 32 | border='0'/>
|
|---|
| 33 | </div>
|
|---|
| 34 |
|
|---|
| 35 | <p>Choose "New" from the "File" menu to create a new Lisp source
|
|---|
| 36 | window. Save it with the name "CurrencyConverter.lisp" into the
|
|---|
| 37 | same "currency-converter" folder where you saved your nibfile in
|
|---|
| 38 | the earlier section. You should now have a "currency-converter"
|
|---|
| 39 | folder that contains a "CurrencyConverter.lisp" item and a
|
|---|
| 40 | "CurrencyConverter.nib" item.</p>
|
|---|
| 41 |
|
|---|
| 42 | <p>Now you're ready to continue, and write the Lisp code that
|
|---|
| 43 | implements the application's behavior.</p>
|
|---|
| 44 |
|
|---|
| 45 | <div class="nav">
|
|---|
| [8372] | 46 | <p><a href="../../HOWTO.html">start</a>|<a href="building_ui.html">previous</a>|<a href="writing_lisp.html">next</a></p>
|
|---|
| [7435] | 47 | </div>
|
|---|
| 48 |
|
|---|
| 49 | </body>
|
|---|
| 50 | </html>
|
|---|
| 51 |
|
|---|