diary
- : diary ¶
- : diary
on¶ - : diary
off¶ - : diary
filename¶ - :
[status, file] =diary ¶ Record the text of the session in a file.
Without arguments logging is toggled;
diary onanddiary offset it explicitly, and any other word is taken as the name of the file to log to (default diary) and starts logging there. With output arguments the current state is returned: status is true while logging and file is the file name.