Page 130 - The Ultimate Palm Robot
P. 130
Color profile: Generic CMYK printer profile
Composite Default screen
Bots /The Ultimate Palm Robot/ Mukhar & Johnson / 222880-6 / Chapter 5
Chapter 5 Checking Out the Robot 113
#include <aCore.tea>
#include <aPPRK.tea>
#include <aA2D.tea>
These are TEAfiles used by the program simple.tea. These files will also need
to be added to the PDA as memos.
Find these files in the \brainstem or \aSystem directory and perform the
same steps to create memos or notes of each of these files. aCore.tea and
aA2D.tea also include aIOPorts.tea, so you will need to create a memo or note
for that file. Here is a list of all the files you need for simple.tea:
❏ simple.tea
❏ aCore.tea
❏ aPPRK.tea
❏ aA2D.tea
❏ aIOPorts.tea
When you have created memos for all these files and loaded them to your
Palm OS device, you are ready to compile the program.
Compile a TEA File You prepare a TEA source file for the BrainStem by
compiling it. The command for compiling a program is steep. Enter this
command
steep "simple.tea"
in the Console command line. Press ENTER to execute the command. For a
PDA, place the cursor at the end of the line, and perform the Graffiti stroke
for Enter (make a diagonal stroke from upper right to lower left in the Graf-
fiti area).
Assuming you created the memos correctly, or you kept the directory struc-
ture provided by Acroname for the PC, the Console application should find
the TEAfile and compile the source code into binary code. This binary code is
P:\010Comp\Bots\880-6\ch05.vp
Monday, May 12, 2003 4:06:13 PM