view test/bug-35448/fA.m @ 31193:6bcc5e6d77fe stable

unpack.m: Escape backslashes in paths on Windows (bug #62888). * scripts/miscalleneous/unpack.m: Escape backslashes in paths on Windows. That seems to be necessary to correctly handle double backslashes that prefix UNC paths.
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 18 Aug 2022 08:40:57 +0200
parents fc4bb4bd1d5e
children
line wrap: on
line source

## fA.m
function y = fA (x, f)
  global gfun
  if (nargin < 2)
    y = fA (x, gfun);
  else
    w = feval (f, x);
    y = feval (@fB, w);
  endif
endfunction