
! script name: cmm_probes.d/probelist

!A
!A NAME:
!A
!A 	probelist
!A
!A DESCRIPTION:
!A
!A 	This script reads a probe data file and displays the entire list of
!A 	information.
!A

stat=ChangeLabelStr("ScriptNameStatus","Function: probelist ")

DIM Destination$[256]
DIM Answer$[256]
DIM Name$[256]
DIM Title$[256]
DIM File$[256]

File$="/usr/weber/userdata/probelist"

Title$= "                 CMM PROBE LIST                 "
stat= OutputString(File$,Title$&CHR$(10),WsNewFile)
stat= OutputString(File$,CHR$(10),WsAppend)
stat= OutputString(File$,CHR$(10),WsAppend)
stat= OutputString(File$,CHR$(10),WsAppend)
Stat=OutputAllData(File$,WsCMMProbeData,WsAppend)

Stat=MessageFileBox(File$,"PROBE LIST")

Leave:!
IF (NOT LEN(Destination$)) THEN
	 LOAD "typecontrol"
ELSE
	 LOAD Destination$
END IF
END
