Universal Synaptics Example Program


The following Fungus program has approximately the same functionality as a popular
CASE-BASED diagnostic tool used by several major companies and the DOD.
The cost of this other program runs into six figures and is difficult and expensive to
setup and maintain.
As you can see, the Fungus code to accomplish nearly the same task as the more expensive
program, is compact, easy to understand and adapts to changes easily.

!DEBRIEF.JOB 4-3-99
CLEAR
ECHO/OFF
WINDOW/1/1/23/79/63/2/0/0
WINDOW/TITLE/1/'DeBrief'
LET DATAFILE = DIR${*.DDB}
IF ITEMS{DATAFILE|} = 0 THEN PRINT/'No data file found' PAUSE : GOTO ENDDEBRIEF
IF ITEMS{DATAFILE|} > 1 THEN ASK/DATAFILE/'Select a data file'/PAR{DATAFILE|}
!DEBRIEF_MENU:
ASKTEXT/AUTO_TASK/'Main_Menu'/COLOR(31)/BAR(112)/ROW(2)/TITLE(1)DeBrief/TITLE(5)`TEST_NAME|/HILITE(23)
!------------ Test generation options --------------------
EXTRACT_DATA ! Enter Pilots complaint and retrieve a fix.
ENTER_DATA ! Add new repair information to the data base.
!------------ Test organizing options --------------------
EDIT ! View the last report.
!------------ Exit Program -------------------------------
EXIT ! Takes you back to the Main menu.
ENDASKTEXT
IF AUTO_TASK = EXTRACT_DATA THEN
ENDIF
IF AUTO_TASK = ENTER_DATA THEN
ENDIF
IF AUTO_TASK = EXIT THEN GOTO ENDDEBRIEF
GOTO DEBRIEF_MENU
!ENDDEBRIEF:
WINDOW/REMOVE
ECHO/ON


Credit cards, check or purchase order accepted.


MAILBOXContact Us MAILBOX

E-Mail: sales@USynaptics.com

uslogo4.gif

Universal Synaptics Corporation
1801 West 21st Street
Ogden, Utah 84401 USA
Tel. (801) 731-8508
Fax (801) 731-8509