Digging through functions
Posted: Sun Apr 21, 2024 10:17 am
I'm digging around in various functions, to see what might be left over and interesting.
I stumbled on this. Does anyone have any ideas as to what it's intended to do?
I stumbled on this. Does anyone have any ideas as to what it's intended to do?
Code: Select all
on revVerboseDebug pWhat
global gREVVerboseDebug
set the cVerboseDebug of stack "revPreferences" to pWhat
-- setting this 'cause its going to crash, so save now
-- MM-2011-03-13: [[ Bug 10073]] Make sure the stack file version is maintained at 2.7 for backwards compatability reasons
revInternal__SavePreferences
set the cVerboseDebug of stack "revPreferences" to pWhat
set the messageMessages to pWhat
put pWhat into gREVVerboseDebug
if pWhat then
delete file "verboseLog.txt"
open file "verboseLog.txt" for text write
end if
end revVerboseDebug