
Button 1 Text GetVersion
Button 2 Text GetExecDateTOD
Button 3 Text GetVideoMemBandwith
Stop

Variable String XML

Label GetVersion
	Load XML "C:\WXM\formal.xml"
	XML = DecodeXML(XML, "WinSAT")
	XML = DecodeXML(XML, "ProgramInfo")
	XML = DecodeXML(XML, "Version")
	Print XML
Return

Label GetExecDateTOD
	Load XML "C:\WXM\formal.xml"
	XML = DecodeXML(XML, "WinSAT")
	XML = DecodeXML(XML, "SystemEnvironment")
	XML = DecodeXML(XML, "ExecDateTOD")
	Print XML
Return

Label GetVideoMemBandwith
	Load XML "C:\WXM\formal.xml"
	XML = DecodeXML(XML, "WinSAT")
	XML = DecodeXML(XML, "Metrics")
	XML = DecodeXML(XML, "GraphicsMetrics")
	XML = DecodeXML(XML, "VideoMemBandwidth")
	Print XML
Return


'WATCH v1
'WATCH GetSeparatedString(SequenceCmd, 1)
'WATCH str1
