![]() |
| Script s2.m | |||
|
|||
|
%----------------------------------------------------------
%Script: s2 - function: f2 %UNCOMMENT ONLY ONE OF THE TWO VERSIONS %---------------------------------------------------------- %% %VERSION 1 of s2 f2 %the correct call for a function without arguments %---------------------------------------------------------- %% %VERSION 2 of s2 % y=f2 %incorrect call: there is nothing to assign to y %---------------------------------------------------------- |
|||
| Back | |||