|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #58134] Very unhelpful error message when calling a script with an error |
Date: | Tue, 7 Apr 2020 20:59:58 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko |
Update of bug #58134 (project octave): Status: None => Invalid Open/Closed: Open => Closed _______________________________________________________ Follow-up Comment #1: Works for me. If you have a function or script FNAME and it is in the file FNAME.m then to invoke it you just type "FNAME". The command "FNAME.m" is something closer to "FNAME().m" which would expect a structure to be output from FNAME and then you are asking Octave for the fieldname "m". I put your commands in a file t2.m and then invoked it both ways. The log is shown below. octave:2> t2.m error: invalid call to script /home/rik/wip/Projects_Mine/octave-dev/t2.m octave:3> t2 error: vertical dimensions mismatch (1x3 vs 1x4) error: called from t2 at line 1 column 10 _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?58134> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |