HP-UX SNAplus2 R7 LUA Programmer's Guide

Sample LUA Application
Testing the Application
Figure 61 Program Flow for the Sample LUA Application
Issue_verb
Initialization
Issue_read
Control returns
to application
Callback
routine
read_done
Read data from
keyboard
other_done
Response
required?
Issue_rsp
rsp_done
Yes
No
6.2 Testing the Application
After examining the source code for the sample application, you may want to test it. The following steps are
required:
1. Ensure that you have access to a suitable host computer against which you can run the application
2. Compile and link the application
3. Congure SNAplus2 for use with LUA (this task will normally be performed by your System Administrator)
4. Run the application
These steps are explained in more detail in the following sections.
151