set status [ SclFunction "RECALL ANY FILE" {
  file="surpac_training.ddb"
  mode="openInNewLayer"
}]

set status [ SclFunction "COMP BY ELEVATION" {
  frm35000={
    {
      _action="display"
      dilution="Y"
      range="50,250,10"
      min_percentage="50"
      type="either side of the elevation level"
      class_range="0,2;3;5;10;999"
      location="benchcomp"
      channel_dip="5"
      table="sample"
      extent="5"
      datatable={
        {
          table_fields="gold"
        }
      }
      weighting_fields={
        {
          weighting_field="gold"
          weighting_default="1"
        }
      }
    }
  }
  frm00012=table { cons } {
    { {
        {
          field=""
          operator="="
          value=""
        }
      } }
    { {
        {
          field=""
          operator="="
          value=""
        }
      } }
  }
}]

set status [ SclFunction "RECALL ANY FILE" {
  file="benchcomp100.str"
  mode="openInNewLayer"
}]

set status [ SclFunction "CLEAR SCREEN" {} ]

set status [ SclFunction "DRAW MARKERS" {
  frm00089={
    {
      _action="display"
      range1=""
      range2=""
      range3=""
      ifld_num="d1"
      textalignment="<"
      position="All points"
      layer_name="benchcomp100.str"
    }
  }
}]

set status [ SclFunction "DRAW DESC" {
  frm00089={
    {
      _action="display"
      range1=""
      range2=""
      range3=""
      ifld_num="d1"
      textalignment="<"
      position="All points"
      layer_name="benchcomp100.str"
    }
  }
}]

puts  ""
puts  ""
puts  "Macro 06a_composite_by_elevation.tcl completed."
puts  ""