//
// Load a TUS .SCP file as a config file
//
// Filename must be alphanumeric only. The file must exist
// in pol/import/tus. So LoadTusScpFile( "grayacct" ) will
// try to load "/pol/import/tus/grayacct.scp"
//
// Header properties, if any, in cfgfile[0]
// Other elements numbered sequentially from 1
// The part in brackets ("[WORLDITEM 04000]") will appear in two ways:
// 1) as a "_key" property
// 2) as a property itself (name=WORLDITEM, value=0x4000)
//
//
// So,if you had the following as the first element
// [WORLDITEM 04000]
// SERIAL=080
// P=1,2,3
// And 'var tusfile' was the result of LoadTusScpFile, then
// tusfile[1]._key is "WORLDITEM 04000"
// tusfile[1].worlditem is 0x4000
// tusfile[1].serial is 0x80
// tusfile[1].p is "1,2,3"
//
|