Functions | |
warning ("off","Octave:empty-list-elements") | |
unwind_protect_cleanup | warning (tmp.state,"Octave:empty-list-elements") |
end_unwind_protect else | error ("cstrcat: expecting arguments to character strings") |
endif else | print_usage () |
endif endfunction | !assert (cstrcat("ab ","ab "),"ab ab ")%!assert(cstrcat(["ab " |
!assert ((strcmp(cstrcat("foo","bar"),"foobar")%!&&strcmp(cstrcat(["a";"bb"],["foo";"bar"]),["a foo";"bbbar"]))) | |
!error | cstrcat () |
!error | cstrcat (1, 2) |
Variables | |
function | st |
cde |
!assert | ( | (strcmp(cstrcat("foo","bar"),"foobar")%!&&strcmp(cstrcat(["a";"bb"],["foo";"bar"]),["a foo";"bbbar"])) | ) |
endif endfunction !assert | ( | cstrcat("ab ","ab ") | , | |
"ab ab " | ||||
) |
!error cstrcat | ( | 1 | , | |
2 | ||||
) |
!error cstrcat | ( | ) |
end_unwind_protect else error | ( | "cstrcat: expecting arguments to character strings" | ) |
unwind_protect_cleanup warning | ( | tmp. | state, | |
"Octave:empty-list-elements" | ||||
) |
warning | ( | "off" | , | |
"Octave:empty-list-elements" | ||||
) |