29 Premium Themes
Included with purchase — and more features on the way!
Get access — $12 once
Version 2 is coming soon.
The price goes up when it arrives.
Pay once today and every update after that is free.
One Dark Pro
capture program drop exit_message
program exit_message
syntax, rc(int) progname(str) start_time(str) [CAPture]
local end_time "$S_TIME $S_DATE"
local time "Start: `start_time'" _n(1) "End: `end_time'"
di ""
if (`rc' == 0) {
di "End: $S_TIME $S_DATE"
local paux ran
local message "`progname' finished running" _n(2) "`time'"
local subject "`progname' `paux'"
}
else if ("`capture'" == "") {
di "WARNING: $S_TIME $S_DATE"
local paux ran with non-0 exit status
local message "`progname' ran but Stata gave error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
else {
di "ERROR: $S_TIME $S_DATE"
local paux ran with errors
local message "`progname' stopped with error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
di "`subject'"
di ""
di "`message'"
end
* From https://github.com/mcaceresb/stata-gtools/blob/fad519ef0454936d450802ac732728ba953957ac/src/test/gtools_tests.do
Andromeda
capture program drop exit_message
program exit_message
syntax, rc(int) progname(str) start_time(str) [CAPture]
local end_time "$S_TIME $S_DATE"
local time "Start: `start_time'" _n(1) "End: `end_time'"
di ""
if (`rc' == 0) {
di "End: $S_TIME $S_DATE"
local paux ran
local message "`progname' finished running" _n(2) "`time'"
local subject "`progname' `paux'"
}
else if ("`capture'" == "") {
di "WARNING: $S_TIME $S_DATE"
local paux ran with non-0 exit status
local message "`progname' ran but Stata gave error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
else {
di "ERROR: $S_TIME $S_DATE"
local paux ran with errors
local message "`progname' stopped with error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
di "`subject'"
di ""
di "`message'"
end
* From https://github.com/mcaceresb/stata-gtools/blob/fad519ef0454936d450802ac732728ba953957ac/src/test/gtools_tests.do
Ayu Dark
capture program drop exit_message
program exit_message
syntax, rc(int) progname(str) start_time(str) [CAPture]
local end_time "$S_TIME $S_DATE"
local time "Start: `start_time'" _n(1) "End: `end_time'"
di ""
if (`rc' == 0) {
di "End: $S_TIME $S_DATE"
local paux ran
local message "`progname' finished running" _n(2) "`time'"
local subject "`progname' `paux'"
}
else if ("`capture'" == "") {
di "WARNING: $S_TIME $S_DATE"
local paux ran with non-0 exit status
local message "`progname' ran but Stata gave error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
else {
di "ERROR: $S_TIME $S_DATE"
local paux ran with errors
local message "`progname' stopped with error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
di "`subject'"
di ""
di "`message'"
end
* From https://github.com/mcaceresb/stata-gtools/blob/fad519ef0454936d450802ac732728ba953957ac/src/test/gtools_tests.do
Ayu Mirage
capture program drop exit_message
program exit_message
syntax, rc(int) progname(str) start_time(str) [CAPture]
local end_time "$S_TIME $S_DATE"
local time "Start: `start_time'" _n(1) "End: `end_time'"
di ""
if (`rc' == 0) {
di "End: $S_TIME $S_DATE"
local paux ran
local message "`progname' finished running" _n(2) "`time'"
local subject "`progname' `paux'"
}
else if ("`capture'" == "") {
di "WARNING: $S_TIME $S_DATE"
local paux ran with non-0 exit status
local message "`progname' ran but Stata gave error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
else {
di "ERROR: $S_TIME $S_DATE"
local paux ran with errors
local message "`progname' stopped with error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
di "`subject'"
di ""
di "`message'"
end
* From https://github.com/mcaceresb/stata-gtools/blob/fad519ef0454936d450802ac732728ba953957ac/src/test/gtools_tests.do
Ayu Light
capture program drop exit_message
program exit_message
syntax, rc(int) progname(str) start_time(str) [CAPture]
local end_time "$S_TIME $S_DATE"
local time "Start: `start_time'" _n(1) "End: `end_time'"
di ""
if (`rc' == 0) {
di "End: $S_TIME $S_DATE"
local paux ran
local message "`progname' finished running" _n(2) "`time'"
local subject "`progname' `paux'"
}
else if ("`capture'" == "") {
di "WARNING: $S_TIME $S_DATE"
local paux ran with non-0 exit status
local message "`progname' ran but Stata gave error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
else {
di "ERROR: $S_TIME $S_DATE"
local paux ran with errors
local message "`progname' stopped with error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
di "`subject'"
di ""
di "`message'"
end
* From https://github.com/mcaceresb/stata-gtools/blob/fad519ef0454936d450802ac732728ba953957ac/src/test/gtools_tests.do
Cobalt2
capture program drop exit_message
program exit_message
syntax, rc(int) progname(str) start_time(str) [CAPture]
local end_time "$S_TIME $S_DATE"
local time "Start: `start_time'" _n(1) "End: `end_time'"
di ""
if (`rc' == 0) {
di "End: $S_TIME $S_DATE"
local paux ran
local message "`progname' finished running" _n(2) "`time'"
local subject "`progname' `paux'"
}
else if ("`capture'" == "") {
di "WARNING: $S_TIME $S_DATE"
local paux ran with non-0 exit status
local message "`progname' ran but Stata gave error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
else {
di "ERROR: $S_TIME $S_DATE"
local paux ran with errors
local message "`progname' stopped with error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
di "`subject'"
di ""
di "`message'"
end
* From https://github.com/mcaceresb/stata-gtools/blob/fad519ef0454936d450802ac732728ba953957ac/src/test/gtools_tests.do
Night Owl
capture program drop exit_message
program exit_message
syntax, rc(int) progname(str) start_time(str) [CAPture]
local end_time "$S_TIME $S_DATE"
local time "Start: `start_time'" _n(1) "End: `end_time'"
di ""
if (`rc' == 0) {
di "End: $S_TIME $S_DATE"
local paux ran
local message "`progname' finished running" _n(2) "`time'"
local subject "`progname' `paux'"
}
else if ("`capture'" == "") {
di "WARNING: $S_TIME $S_DATE"
local paux ran with non-0 exit status
local message "`progname' ran but Stata gave error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
else {
di "ERROR: $S_TIME $S_DATE"
local paux ran with errors
local message "`progname' stopped with error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
di "`subject'"
di ""
di "`message'"
end
* From https://github.com/mcaceresb/stata-gtools/blob/fad519ef0454936d450802ac732728ba953957ac/src/test/gtools_tests.do
Night Owl Light
capture program drop exit_message
program exit_message
syntax, rc(int) progname(str) start_time(str) [CAPture]
local end_time "$S_TIME $S_DATE"
local time "Start: `start_time'" _n(1) "End: `end_time'"
di ""
if (`rc' == 0) {
di "End: $S_TIME $S_DATE"
local paux ran
local message "`progname' finished running" _n(2) "`time'"
local subject "`progname' `paux'"
}
else if ("`capture'" == "") {
di "WARNING: $S_TIME $S_DATE"
local paux ran with non-0 exit status
local message "`progname' ran but Stata gave error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
else {
di "ERROR: $S_TIME $S_DATE"
local paux ran with errors
local message "`progname' stopped with error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
di "`subject'"
di ""
di "`message'"
end
* From https://github.com/mcaceresb/stata-gtools/blob/fad519ef0454936d450802ac732728ba953957ac/src/test/gtools_tests.do
Noctis
capture program drop exit_message
program exit_message
syntax, rc(int) progname(str) start_time(str) [CAPture]
local end_time "$S_TIME $S_DATE"
local time "Start: `start_time'" _n(1) "End: `end_time'"
di ""
if (`rc' == 0) {
di "End: $S_TIME $S_DATE"
local paux ran
local message "`progname' finished running" _n(2) "`time'"
local subject "`progname' `paux'"
}
else if ("`capture'" == "") {
di "WARNING: $S_TIME $S_DATE"
local paux ran with non-0 exit status
local message "`progname' ran but Stata gave error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
else {
di "ERROR: $S_TIME $S_DATE"
local paux ran with errors
local message "`progname' stopped with error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
di "`subject'"
di ""
di "`message'"
end
* From https://github.com/mcaceresb/stata-gtools/blob/fad519ef0454936d450802ac732728ba953957ac/src/test/gtools_tests.do
Noctis Azureus
capture program drop exit_message
program exit_message
syntax, rc(int) progname(str) start_time(str) [CAPture]
local end_time "$S_TIME $S_DATE"
local time "Start: `start_time'" _n(1) "End: `end_time'"
di ""
if (`rc' == 0) {
di "End: $S_TIME $S_DATE"
local paux ran
local message "`progname' finished running" _n(2) "`time'"
local subject "`progname' `paux'"
}
else if ("`capture'" == "") {
di "WARNING: $S_TIME $S_DATE"
local paux ran with non-0 exit status
local message "`progname' ran but Stata gave error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
else {
di "ERROR: $S_TIME $S_DATE"
local paux ran with errors
local message "`progname' stopped with error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
di "`subject'"
di ""
di "`message'"
end
* From https://github.com/mcaceresb/stata-gtools/blob/fad519ef0454936d450802ac732728ba953957ac/src/test/gtools_tests.do
Noctis Bordo
capture program drop exit_message
program exit_message
syntax, rc(int) progname(str) start_time(str) [CAPture]
local end_time "$S_TIME $S_DATE"
local time "Start: `start_time'" _n(1) "End: `end_time'"
di ""
if (`rc' == 0) {
di "End: $S_TIME $S_DATE"
local paux ran
local message "`progname' finished running" _n(2) "`time'"
local subject "`progname' `paux'"
}
else if ("`capture'" == "") {
di "WARNING: $S_TIME $S_DATE"
local paux ran with non-0 exit status
local message "`progname' ran but Stata gave error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
else {
di "ERROR: $S_TIME $S_DATE"
local paux ran with errors
local message "`progname' stopped with error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
di "`subject'"
di ""
di "`message'"
end
* From https://github.com/mcaceresb/stata-gtools/blob/fad519ef0454936d450802ac732728ba953957ac/src/test/gtools_tests.do
Noctis Hibernus
capture program drop exit_message
program exit_message
syntax, rc(int) progname(str) start_time(str) [CAPture]
local end_time "$S_TIME $S_DATE"
local time "Start: `start_time'" _n(1) "End: `end_time'"
di ""
if (`rc' == 0) {
di "End: $S_TIME $S_DATE"
local paux ran
local message "`progname' finished running" _n(2) "`time'"
local subject "`progname' `paux'"
}
else if ("`capture'" == "") {
di "WARNING: $S_TIME $S_DATE"
local paux ran with non-0 exit status
local message "`progname' ran but Stata gave error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
else {
di "ERROR: $S_TIME $S_DATE"
local paux ran with errors
local message "`progname' stopped with error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
di "`subject'"
di ""
di "`message'"
end
* From https://github.com/mcaceresb/stata-gtools/blob/fad519ef0454936d450802ac732728ba953957ac/src/test/gtools_tests.do
Noctis Lilac
capture program drop exit_message
program exit_message
syntax, rc(int) progname(str) start_time(str) [CAPture]
local end_time "$S_TIME $S_DATE"
local time "Start: `start_time'" _n(1) "End: `end_time'"
di ""
if (`rc' == 0) {
di "End: $S_TIME $S_DATE"
local paux ran
local message "`progname' finished running" _n(2) "`time'"
local subject "`progname' `paux'"
}
else if ("`capture'" == "") {
di "WARNING: $S_TIME $S_DATE"
local paux ran with non-0 exit status
local message "`progname' ran but Stata gave error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
else {
di "ERROR: $S_TIME $S_DATE"
local paux ran with errors
local message "`progname' stopped with error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
di "`subject'"
di ""
di "`message'"
end
* From https://github.com/mcaceresb/stata-gtools/blob/fad519ef0454936d450802ac732728ba953957ac/src/test/gtools_tests.do
Noctis Lux
capture program drop exit_message
program exit_message
syntax, rc(int) progname(str) start_time(str) [CAPture]
local end_time "$S_TIME $S_DATE"
local time "Start: `start_time'" _n(1) "End: `end_time'"
di ""
if (`rc' == 0) {
di "End: $S_TIME $S_DATE"
local paux ran
local message "`progname' finished running" _n(2) "`time'"
local subject "`progname' `paux'"
}
else if ("`capture'" == "") {
di "WARNING: $S_TIME $S_DATE"
local paux ran with non-0 exit status
local message "`progname' ran but Stata gave error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
else {
di "ERROR: $S_TIME $S_DATE"
local paux ran with errors
local message "`progname' stopped with error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
di "`subject'"
di ""
di "`message'"
end
* From https://github.com/mcaceresb/stata-gtools/blob/fad519ef0454936d450802ac732728ba953957ac/src/test/gtools_tests.do
Noctis Minimus
capture program drop exit_message
program exit_message
syntax, rc(int) progname(str) start_time(str) [CAPture]
local end_time "$S_TIME $S_DATE"
local time "Start: `start_time'" _n(1) "End: `end_time'"
di ""
if (`rc' == 0) {
di "End: $S_TIME $S_DATE"
local paux ran
local message "`progname' finished running" _n(2) "`time'"
local subject "`progname' `paux'"
}
else if ("`capture'" == "") {
di "WARNING: $S_TIME $S_DATE"
local paux ran with non-0 exit status
local message "`progname' ran but Stata gave error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
else {
di "ERROR: $S_TIME $S_DATE"
local paux ran with errors
local message "`progname' stopped with error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
di "`subject'"
di ""
di "`message'"
end
* From https://github.com/mcaceresb/stata-gtools/blob/fad519ef0454936d450802ac732728ba953957ac/src/test/gtools_tests.do
Noctis Obscuro
capture program drop exit_message
program exit_message
syntax, rc(int) progname(str) start_time(str) [CAPture]
local end_time "$S_TIME $S_DATE"
local time "Start: `start_time'" _n(1) "End: `end_time'"
di ""
if (`rc' == 0) {
di "End: $S_TIME $S_DATE"
local paux ran
local message "`progname' finished running" _n(2) "`time'"
local subject "`progname' `paux'"
}
else if ("`capture'" == "") {
di "WARNING: $S_TIME $S_DATE"
local paux ran with non-0 exit status
local message "`progname' ran but Stata gave error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
else {
di "ERROR: $S_TIME $S_DATE"
local paux ran with errors
local message "`progname' stopped with error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
di "`subject'"
di ""
di "`message'"
end
* From https://github.com/mcaceresb/stata-gtools/blob/fad519ef0454936d450802ac732728ba953957ac/src/test/gtools_tests.do
Noctis Sereno
capture program drop exit_message
program exit_message
syntax, rc(int) progname(str) start_time(str) [CAPture]
local end_time "$S_TIME $S_DATE"
local time "Start: `start_time'" _n(1) "End: `end_time'"
di ""
if (`rc' == 0) {
di "End: $S_TIME $S_DATE"
local paux ran
local message "`progname' finished running" _n(2) "`time'"
local subject "`progname' `paux'"
}
else if ("`capture'" == "") {
di "WARNING: $S_TIME $S_DATE"
local paux ran with non-0 exit status
local message "`progname' ran but Stata gave error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
else {
di "ERROR: $S_TIME $S_DATE"
local paux ran with errors
local message "`progname' stopped with error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
di "`subject'"
di ""
di "`message'"
end
* From https://github.com/mcaceresb/stata-gtools/blob/fad519ef0454936d450802ac732728ba953957ac/src/test/gtools_tests.do
Noctis Uva
capture program drop exit_message
program exit_message
syntax, rc(int) progname(str) start_time(str) [CAPture]
local end_time "$S_TIME $S_DATE"
local time "Start: `start_time'" _n(1) "End: `end_time'"
di ""
if (`rc' == 0) {
di "End: $S_TIME $S_DATE"
local paux ran
local message "`progname' finished running" _n(2) "`time'"
local subject "`progname' `paux'"
}
else if ("`capture'" == "") {
di "WARNING: $S_TIME $S_DATE"
local paux ran with non-0 exit status
local message "`progname' ran but Stata gave error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
else {
di "ERROR: $S_TIME $S_DATE"
local paux ran with errors
local message "`progname' stopped with error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
di "`subject'"
di ""
di "`message'"
end
* From https://github.com/mcaceresb/stata-gtools/blob/fad519ef0454936d450802ac732728ba953957ac/src/test/gtools_tests.do
Noctis Viola
capture program drop exit_message
program exit_message
syntax, rc(int) progname(str) start_time(str) [CAPture]
local end_time "$S_TIME $S_DATE"
local time "Start: `start_time'" _n(1) "End: `end_time'"
di ""
if (`rc' == 0) {
di "End: $S_TIME $S_DATE"
local paux ran
local message "`progname' finished running" _n(2) "`time'"
local subject "`progname' `paux'"
}
else if ("`capture'" == "") {
di "WARNING: $S_TIME $S_DATE"
local paux ran with non-0 exit status
local message "`progname' ran but Stata gave error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
else {
di "ERROR: $S_TIME $S_DATE"
local paux ran with errors
local message "`progname' stopped with error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
di "`subject'"
di ""
di "`message'"
end
* From https://github.com/mcaceresb/stata-gtools/blob/fad519ef0454936d450802ac732728ba953957ac/src/test/gtools_tests.do
Palenight
capture program drop exit_message
program exit_message
syntax, rc(int) progname(str) start_time(str) [CAPture]
local end_time "$S_TIME $S_DATE"
local time "Start: `start_time'" _n(1) "End: `end_time'"
di ""
if (`rc' == 0) {
di "End: $S_TIME $S_DATE"
local paux ran
local message "`progname' finished running" _n(2) "`time'"
local subject "`progname' `paux'"
}
else if ("`capture'" == "") {
di "WARNING: $S_TIME $S_DATE"
local paux ran with non-0 exit status
local message "`progname' ran but Stata gave error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
else {
di "ERROR: $S_TIME $S_DATE"
local paux ran with errors
local message "`progname' stopped with error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
di "`subject'"
di ""
di "`message'"
end
* From https://github.com/mcaceresb/stata-gtools/blob/fad519ef0454936d450802ac732728ba953957ac/src/test/gtools_tests.do
Pico 8
capture program drop exit_message
program exit_message
syntax, rc(int) progname(str) start_time(str) [CAPture]
local end_time "$S_TIME $S_DATE"
local time "Start: `start_time'" _n(1) "End: `end_time'"
di ""
if (`rc' == 0) {
di "End: $S_TIME $S_DATE"
local paux ran
local message "`progname' finished running" _n(2) "`time'"
local subject "`progname' `paux'"
}
else if ("`capture'" == "") {
di "WARNING: $S_TIME $S_DATE"
local paux ran with non-0 exit status
local message "`progname' ran but Stata gave error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
else {
di "ERROR: $S_TIME $S_DATE"
local paux ran with errors
local message "`progname' stopped with error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
di "`subject'"
di ""
di "`message'"
end
* From https://github.com/mcaceresb/stata-gtools/blob/fad519ef0454936d450802ac732728ba953957ac/src/test/gtools_tests.do
Shades of Purple
capture program drop exit_message
program exit_message
syntax, rc(int) progname(str) start_time(str) [CAPture]
local end_time "$S_TIME $S_DATE"
local time "Start: `start_time'" _n(1) "End: `end_time'"
di ""
if (`rc' == 0) {
di "End: $S_TIME $S_DATE"
local paux ran
local message "`progname' finished running" _n(2) "`time'"
local subject "`progname' `paux'"
}
else if ("`capture'" == "") {
di "WARNING: $S_TIME $S_DATE"
local paux ran with non-0 exit status
local message "`progname' ran but Stata gave error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
else {
di "ERROR: $S_TIME $S_DATE"
local paux ran with errors
local message "`progname' stopped with error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
di "`subject'"
di ""
di "`message'"
end
* From https://github.com/mcaceresb/stata-gtools/blob/fad519ef0454936d450802ac732728ba953957ac/src/test/gtools_tests.do
Shades of Purple SD
capture program drop exit_message
program exit_message
syntax, rc(int) progname(str) start_time(str) [CAPture]
local end_time "$S_TIME $S_DATE"
local time "Start: `start_time'" _n(1) "End: `end_time'"
di ""
if (`rc' == 0) {
di "End: $S_TIME $S_DATE"
local paux ran
local message "`progname' finished running" _n(2) "`time'"
local subject "`progname' `paux'"
}
else if ("`capture'" == "") {
di "WARNING: $S_TIME $S_DATE"
local paux ran with non-0 exit status
local message "`progname' ran but Stata gave error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
else {
di "ERROR: $S_TIME $S_DATE"
local paux ran with errors
local message "`progname' stopped with error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
di "`subject'"
di ""
di "`message'"
end
* From https://github.com/mcaceresb/stata-gtools/blob/fad519ef0454936d450802ac732728ba953957ac/src/test/gtools_tests.do
Synthwave '84
capture program drop exit_message
program exit_message
syntax, rc(int) progname(str) start_time(str) [CAPture]
local end_time "$S_TIME $S_DATE"
local time "Start: `start_time'" _n(1) "End: `end_time'"
di ""
if (`rc' == 0) {
di "End: $S_TIME $S_DATE"
local paux ran
local message "`progname' finished running" _n(2) "`time'"
local subject "`progname' `paux'"
}
else if ("`capture'" == "") {
di "WARNING: $S_TIME $S_DATE"
local paux ran with non-0 exit status
local message "`progname' ran but Stata gave error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
else {
di "ERROR: $S_TIME $S_DATE"
local paux ran with errors
local message "`progname' stopped with error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
di "`subject'"
di ""
di "`message'"
end
* From https://github.com/mcaceresb/stata-gtools/blob/fad519ef0454936d450802ac732728ba953957ac/src/test/gtools_tests.do
Tokyo Night
capture program drop exit_message
program exit_message
syntax, rc(int) progname(str) start_time(str) [CAPture]
local end_time "$S_TIME $S_DATE"
local time "Start: `start_time'" _n(1) "End: `end_time'"
di ""
if (`rc' == 0) {
di "End: $S_TIME $S_DATE"
local paux ran
local message "`progname' finished running" _n(2) "`time'"
local subject "`progname' `paux'"
}
else if ("`capture'" == "") {
di "WARNING: $S_TIME $S_DATE"
local paux ran with non-0 exit status
local message "`progname' ran but Stata gave error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
else {
di "ERROR: $S_TIME $S_DATE"
local paux ran with errors
local message "`progname' stopped with error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
di "`subject'"
di ""
di "`message'"
end
* From https://github.com/mcaceresb/stata-gtools/blob/fad519ef0454936d450802ac732728ba953957ac/src/test/gtools_tests.do
Tokyo Night Storm
capture program drop exit_message
program exit_message
syntax, rc(int) progname(str) start_time(str) [CAPture]
local end_time "$S_TIME $S_DATE"
local time "Start: `start_time'" _n(1) "End: `end_time'"
di ""
if (`rc' == 0) {
di "End: $S_TIME $S_DATE"
local paux ran
local message "`progname' finished running" _n(2) "`time'"
local subject "`progname' `paux'"
}
else if ("`capture'" == "") {
di "WARNING: $S_TIME $S_DATE"
local paux ran with non-0 exit status
local message "`progname' ran but Stata gave error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
else {
di "ERROR: $S_TIME $S_DATE"
local paux ran with errors
local message "`progname' stopped with error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
di "`subject'"
di ""
di "`message'"
end
* From https://github.com/mcaceresb/stata-gtools/blob/fad519ef0454936d450802ac732728ba953957ac/src/test/gtools_tests.do
Tokyo Night Light
capture program drop exit_message
program exit_message
syntax, rc(int) progname(str) start_time(str) [CAPture]
local end_time "$S_TIME $S_DATE"
local time "Start: `start_time'" _n(1) "End: `end_time'"
di ""
if (`rc' == 0) {
di "End: $S_TIME $S_DATE"
local paux ran
local message "`progname' finished running" _n(2) "`time'"
local subject "`progname' `paux'"
}
else if ("`capture'" == "") {
di "WARNING: $S_TIME $S_DATE"
local paux ran with non-0 exit status
local message "`progname' ran but Stata gave error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
else {
di "ERROR: $S_TIME $S_DATE"
local paux ran with errors
local message "`progname' stopped with error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
di "`subject'"
di ""
di "`message'"
end
* From https://github.com/mcaceresb/stata-gtools/blob/fad519ef0454936d450802ac732728ba953957ac/src/test/gtools_tests.do
Winter is Coming
capture program drop exit_message
program exit_message
syntax, rc(int) progname(str) start_time(str) [CAPture]
local end_time "$S_TIME $S_DATE"
local time "Start: `start_time'" _n(1) "End: `end_time'"
di ""
if (`rc' == 0) {
di "End: $S_TIME $S_DATE"
local paux ran
local message "`progname' finished running" _n(2) "`time'"
local subject "`progname' `paux'"
}
else if ("`capture'" == "") {
di "WARNING: $S_TIME $S_DATE"
local paux ran with non-0 exit status
local message "`progname' ran but Stata gave error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
else {
di "ERROR: $S_TIME $S_DATE"
local paux ran with errors
local message "`progname' stopped with error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
di "`subject'"
di ""
di "`message'"
end
* From https://github.com/mcaceresb/stata-gtools/blob/fad519ef0454936d450802ac732728ba953957ac/src/test/gtools_tests.do
Winter is Coming Light
capture program drop exit_message
program exit_message
syntax, rc(int) progname(str) start_time(str) [CAPture]
local end_time "$S_TIME $S_DATE"
local time "Start: `start_time'" _n(1) "End: `end_time'"
di ""
if (`rc' == 0) {
di "End: $S_TIME $S_DATE"
local paux ran
local message "`progname' finished running" _n(2) "`time'"
local subject "`progname' `paux'"
}
else if ("`capture'" == "") {
di "WARNING: $S_TIME $S_DATE"
local paux ran with non-0 exit status
local message "`progname' ran but Stata gave error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
else {
di "ERROR: $S_TIME $S_DATE"
local paux ran with errors
local message "`progname' stopped with error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
di "`subject'"
di ""
di "`message'"
end
* From https://github.com/mcaceresb/stata-gtools/blob/fad519ef0454936d450802ac732728ba953957ac/src/test/gtools_tests.do
Winter is Coming Dark
capture program drop exit_message
program exit_message
syntax, rc(int) progname(str) start_time(str) [CAPture]
local end_time "$S_TIME $S_DATE"
local time "Start: `start_time'" _n(1) "End: `end_time'"
di ""
if (`rc' == 0) {
di "End: $S_TIME $S_DATE"
local paux ran
local message "`progname' finished running" _n(2) "`time'"
local subject "`progname' `paux'"
}
else if ("`capture'" == "") {
di "WARNING: $S_TIME $S_DATE"
local paux ran with non-0 exit status
local message "`progname' ran but Stata gave error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
else {
di "ERROR: $S_TIME $S_DATE"
local paux ran with errors
local message "`progname' stopped with error code r(`rc')" _n(2) "`time'"
local subject "`progname' `paux'"
}
di "`subject'"
di ""
di "`message'"
end
* From https://github.com/mcaceresb/stata-gtools/blob/fad519ef0454936d450802ac732728ba953957ac/src/test/gtools_tests.do