Functions | |
if (nargin==0) file | |
endif | if (ischar(file)) files |
if (isempty(files)) files | |
endif else | error ("fileattrib: expecting first argument to be a character string") |
if (!err) r_n | |
endif endfor | if (status) r |
if (nargout==0) status | |
endif endif else | print_usage () |
Variables | |
function [status, msg, msgid] | |
msg = "" | |
msgid = "" | |
nfiles = 1 | |
curr_dir = pwd () | |
for | i |
modestr = canonicalize_file_name (files{i}) info.modestr | |
else | status = false |
break |
if | ( | nargout | = =0 |
) |
if | ( | ! | err | ) |
if | ( | isempty(files) | ) |
if | ( | nargin | = =0 |
) |
break |
curr_dir = pwd () |
modestr = canonicalize_file_name (files{i}) info.modestr |
msgid = "" |