compat.lua is a file Blizzard loads before it gets to GlueXML/FrameXML, containing stuff like aliases (strfind = string.find), wrappers (trig functions that take degrees), and a few other custom functions (like string.split). You can't export it from the console, but knowing it's there makes it easier to understand why these functions are being called that would otherwise not exist.
|