[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Bizarre Error
From: |
Julian DeMarchi |
Subject: |
RE: Bizarre Error |
Date: |
Wed, 12 Feb 2003 18:17:46 -0500 |
Yes, I can now independently corroborate this (2.1.42):
* * *
>> t
a = 1
>>0
userin = 0
>> t
a = 1
>>asdf
userin = []
>>t
a = 1
>>123sdaf
userin = []
userin = []
parse error:
>>> load -force testfile.dat
^
parse error:
>>> load -force testfile.dat
^
error: evaluating while command near line 26, column 1
error: called from `t' in file `/octave_files/t.m'
>>
* * *
Note -- I used t.m instead of test.m, which is a "forge" function.
-----Original Message-----
From: address@hidden [mailto:address@hidden
Sent: Wed 2/12/2003 6:02 PM
To: address@hidden
Cc: address@hidden
Subject: Re: Bizarre Error
Okay to make everyones life easier i have isolated the problem:
i have written a new function that has the same problem:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function test
a=1
while a==1
loadline=['load -force testfile.dat'];
eval(loadline);
userin=input('>>','s');
userin=str2num(userin)
if userin==0
return
end
end
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
just create the file testfile.dat containing any old stuff then run this
function. Test different strings...a string prefixed by a number
produces an
error.
-------------------------------------------------
This mail sent through IMP: www-mail.usyd.edu.au
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
- Re: Bizarre Error, (continued)
Re: Bizarre Error, pand9613, 2003/02/11
RE: Bizarre Error, Julian DeMarchi, 2003/02/11
RE: Bizarre Error, Julian DeMarchi, 2003/02/11
RE: Bizarre Error,
Julian DeMarchi <=
RE: Bizarre Error, Julian DeMarchi, 2003/02/12