| Copy StrED_cfg to Choices$Write if not already there
|  StrongED Developers, 2018
| StrongED$WrapWidth = 132

| Set StrED_cfg$Present to indicate presence of StrED_cfg in Choices$Write
IfThere <Choices$Write>.!StrED_cfg Then Set StrED_cfg$Present "Yes" Else Set StrED_cfg$Present "No"

| If Choices$Write exists and doesn't have StrED_cfg copy local StrED_cfg to it
If "<Choices$Write>" <> "" AND "<StrED_cfg$Present>" = "No" Then Set StrED_cfg$DoCopy "Yes"
If "<StrED_cfg$DoCopy>" = "Yes" Then Copy <Obey$Dir>.!StrED_cfg <Choices$Write>.!StrED_cfg ~CR~V

| Check if StrED_cfg is now present in Choices$Write, set StrED_cfg$Success accordingly
IfThere <Choices$Write>.!StrED_cfg Then Set StrED_cfg$Success "Yes" Else Set StrED_cfg$Success "No"

| Output a message to the user indicating success of failure
If "<Choices$Write>" = "" Then Echo Cannot find Choices directory
If "<StrED_cfg$Present>" = "Yes" Then Echo StrED_cfg is already present in Choices
If "<StrED_cfg$Present>" = "No" AND "<StrED_cfg$Success>" = "No" Then Echo Copying StrED_cfg to Choices has failed
If "<StrED_cfg$Present>" = "No" AND "<StrED_cfg$Success>" = "Yes" Then Echo StrED_cfg copied to Choices successfully

| Done, tidy up
Unset StrED_cfg$DoCopy
Unset StrED_cfg$Present
Unset StrED_cfg$Success
