Open “captfile” and capture all screen output to it. If an error occurs creating or opening “captfile”, “error” is set to TRUE, otherwise “error” is set to FALSE. See also: CloseCap