|
From: | Doug Stewart |
Subject: | Re: problems |
Date: | Thu, 1 Oct 2015 07:00:21 -0400 |
I would like to know why the file:"# hyp.mfunction r=hyp(x,y)# hypoténuse d'un triangle de côtés x et yr=sqrt(x*x+y*y)endfunction"always alert :">> hyperror: 'x' undefined near line 4 column 8error: called fromhyp at line 4 column 2error: evaluating argument list element number 1error: called fromhyp at line 4 column 2"Fortunately, this is not a crashing error.That problem happens with all my files.I do not know to declare in function-arguments a variable,for instance x as real, y as integer, m as scalar.
I also would like to change at the screen the shape of resultfrom a "for i=1:30,disp(i^2),endfor" in order torequest in a list-shape rather that column-shape,
_______________________________________________
Help-octave mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-octave
[Prev in Thread] | Current Thread | [Next in Thread] |