     dest.setValue new Date()
     dump "setupNewRow row %s - %s", row, dest.getA1Notation()
   else
-    dump "FAILED - value already set %s - setupNewRow row %s - %s", oldValue,
+    dump "setupNewRow - FAILED - value already set %s - row %s - %s", oldValue,
       row, dest.getA1Notation()
   flushLog()
   return

  properties.setProperty "config.#{name}", value
  verbose = value if name is 'verbose'
  trace = value if name is 'trace'


createSupportSheets = (spreadsheet) ->
  for i in ignoreSheets

        (nm == om and
          (nd <= od))))

getNewestRow = (sheet) ->
  row = null
  if config.ascending
    row = sheet.getMaxRows()
  else
    row = sheet.getFrozenRows() + 1
  dump "getNewestRow is #{row}."
  return row

# A column contains current year/month/day or further in the future
isNewestRowCurrent = (sheet) ->
  n = new Date()
  cell  = "A#{getNewestRow(sheet)}"
  t = sheet.getRange(cell).getValue()
  dump "isNewestRowCurrent row #{cell} sheet '%s:%s' dates ['%s', '%s']",
    sheet.getName(), cell, n, t
  if t is ''
    return false
