function out=myTest(n)
%function [out1,out2]=myTest(n)
%function [out1,out2]=myTest(n)
% Purpose: demo function for dual command-syntax and function-syntax
% Note: function intended for dual use must not return output
% Applications: MATLAB utilities: print, load, save, etc.
%               Requisite behavior for main program of MATLAB standalone
% Example:
% >> n=5; myTest(n) % passed by reference; n=5; m=n+1=6
% >> n=5; myTest n  % passed by value; n=n; m=n+1=111 (ASCII dec. n=110)
n  % prints value of n
disp(['Is n a character ?' num2str(ischar(n))])  % is it a character ?
m = n + 1   % if n is a string, the algebraic sum of m is not correct
disp(['Is m a character ?' num2str(ischar(m))])
out(1)=123;
out(2)=456;
return
end
