######################################################################
#
# Macro Name    : d:/demo/graphical_sequencer/2_define_format.tcl
#
# Version       : Surpac Vision V5.0-M
#
# Creation Date : Wed Jun 15 14:50:04 2005
#
# Description   : 
#
######################################################################

set status [ SclFunction "DEFINE FORMAT" {
  frm50123={
    {
      _action=display
      in_format_file="format"
      out_format_file="format"
      db_name="sched"
    }
  }
  frm50118={
    {
      _action=display
      master_element="1"
      dfields={
        {
          d_field="1"
          d_name="Au"
        }
      }
    }
  }
  frm50121={
    {
      _action=display
      location="ore"
      model_type="STRING"
      ore_str_range="1,3;98"
    }
  }
  frm50122={
    {
      _action=display
      location="blk"
      blk_str_range="1"
    }
  }
  frm50119={
    {
      _action=display
      quantities=table { name range from_grade to_grade sg thick } {
        { "Hton" "3" "0" "100" "D2" "D3" }
        { "Mton" "2" "0" "100" "D2" "D3" }
        { "Lton" "1" "0" "100" "D2" "D3" }
        { "Waste" "98" "0" "100" "D2" "D3" }
      }
      limiting_material="1"
    }
  }
  frm50120={
    {
      _action=display
      qualities=table { name dfield quantity } {
        { "Hi" "Au" "Hton" }
        { "Med" "Au" "Mton" }
        { "Low" "Au" "Lton" }
      }
    }
  }
}]


puts ""
puts "macro 2 complete"