news
About Elegant Chaos
info
About me and my friends
people
Software from Elegant Chaos
software
Other stuff...
stuff

BL_OKToBackup

Revision
Revised on

Description


Code

function BL_OKToBackup stackName
  -- returns true if the current stack should be backup up now
  global BL_ConfirmBackups
  
  get DL_Flag("─Backup─",stackName)
  if it and BL_ConfirmBackups then
    -- check to see if the user wants it backed up now
    answer "Do you want to back up the stack "" & the short name of this stack & ""?" ┬
    with "Not now!" or "OK"
    return (it is "OK")
  end if
  
  return it
  
end BL_OKToBackup