%io — variable returns standard input and standard output (file descriptor).
%io(1) %io(2)
%io(1) returns standard input (file descriptor 5).
%io(2) returns standard ouput (file descriptor 6).
file descriptor 0 is the standard error.
mfprintf(%io(2),'Scilab stdout (C)'); mfprintf(0,'Scilab stderr (C)'); write(%io(2),'Scilab stdout (Fortran)'); write(0,'Scilab stderr (Fortran'); [units,typ,names]=file()