!
! *********** NOTE *******
!
! THIS FILE BUILDS TWO TASKS:
!	FLEX -- THE ACTUAL FLECS PROCESSOR
!	FLECS -- THE PDS-LIKE FLECS COMMAND PROCESSOR
! BOTH FILES GO TO LB:[11,2]
! BE SURE AND EDIT THIS FILE AND (FLEX.CMD) IF YOU WISH THE
! TASKS TO GO ELSEWHERE
!
! NOTE ALSO THAT THE FLEX MODULE RSX.MAC HAS BEEN ALTERED AS FOLLOWS:
!	DEFAULT FILETYPE FOR FLEX SOURCES CHANGED FROM ".FLX" TO ".FLE"
!	EXITS CHANGED TO EXIT-WITH-STATUS
!
! CAUTION:  THIS COMMAND FILE EXPECTS TO FIND THE TCS FORTRAN INTERFACE
! IN OBJECT FORM AS LB:[1,1]SUBTASK.OBJ
!
ON ERROR GOTO HELL
@FLEX
ON ERROR CONTINUE
REM ...FLE
REM FLE
INS [11,2]FLEX
ON ERROR GOTO HELL
MCR FLE FLECS,FLECS=FLECS
FOR FLECS
MAC GETLIN
MAC QEXIT
LINK/OPTIONS/MULTI/TASK:LB:[11,2]FLECS FLECS GETLIN QEXIT -
LB:[1,1]SUBTASK
LIBR=SYSRES:RO
TASK=$$$FLE
/
INS [11,2]FLECS
FLECS/LIST:TI: TEST
! IF WE GOT HERE, EVERYTHING CHECKS
STOP
HELL:
! WELL, WE BLEW THAT ONE.
STOP
