Functions | |
endif | if (nargin > 1) print_usage() |
endfor | if (nargout==0) octave_license |
if (status< 0) os_string | |
endif | hbar (1:70) |
puts (ver_desc) | |
pkg ("list") | |
else | if (!isempty(pack)) n |
!assert (result(1).Name,"Octave")%!assert(result(1).Version | |
!assert (result.Name, expected) | |
!assert (isfield(result,"Version"), true) | |
!assert (isfield(result,"Release"), true) | |
!assert (isfield(result,"Date"), true) | |
Variables | |
function | varargout |
endif | ret |
lst = pkg ("list") | |
for | i |
else | os_string |
ver_line1 = "GNU Octave Version " | |
ver_line2 = "GNU Octave License: " | |
ver_line3 = "Operating System: " | |
ver_desc | |
for | r |
break | |
endif endfunction!test | !result = ver |
version!test | !lst = pkg ("list") |
!for | n |
!assert | ( | isfield(result,"Date") | , | |
true | ||||
) |
!assert | ( | isfield(result,"Release") | , | |
true | ||||
) |
!assert | ( | isfield(result,"Version") | , | |
true | ||||
) |
!assert | ( | result. | Name, | |
expected | ||||
) |
!assert | ( | result(1). | Name, | |
"Octave" | ||||
) |
endif hbar | ( | 1:70 | ) |
else if | ( | ! | isemptypack | ) |
if | ( | ) |
endfor if | ( | nargout | = =0 |
) |
pkg | ( | "list" | ) |
puts | ( | ver_desc | ) |
version !test !lst = pkg ("list") |
!result = ver |
break |
for i |
lst = pkg ("list") |
Initial value:
sprintf ("%s %s %s %s", unm.sysname, unm.release,
unm.version, unm.machine)
Initial value:
struct ("Name", "Octave", "Version", version, "Release", [], "Date", [])
ver_line1 = "GNU Octave Version " |
ver_line2 = "GNU Octave License: " |
ver_line3 = "Operating System: " |