Navigation

Operators and Keywords

Function List:

C++ API

ver.m File Reference


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

Function Documentation

!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  ) 

endif if ( nargin  ,
 
)

pkg ( "list"   ) 

puts ( ver_desc   ) 


Variable Documentation

version !test !lst = pkg ("list")

!result = ver

break

for i

Initial value:

 1:length (lst)
    ret(end+1) = struct ("Name", lst{i}.name, "Version", lst{i}.version,
                         "Release", [], "Date", lst{i}.date)

lst = pkg ("list")

! for n

Initial value:

1:numel(lst)
%!   expected = lst{n}.name

Initial value:

 sprintf ("%s %s %s %s", unm.sysname, unm.release,
                           unm.version, unm.machine)

for r

Initial value:

 1:numel(ret)
        if (strcmpi (ret(r).Name, pack))
          n = r

Initial value:

 struct ("Name", "Octave", "Version", version,
                "Release", [], "Date", [])

function varargout

Initial value:

 ver (pack)

  if (nargin == 0)
    pack = ""

Initial value:

 sprintf ("%s\n%s%s\n%s%s\n%s%s\n%s\n", hbar, ver_line1, version,
                        ver_line2, octave_license, ver_line3, os_string, hbar)

ver_line1 = "GNU Octave Version "

ver_line2 = "GNU Octave License: "

ver_line3 = "Operating System: "