help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inexplicable error message


From: Sergei Steshenko
Subject: Re: Inexplicable error message
Date: Thu, 2 Feb 2012 23:43:18 -0800 (PST)





>________________________________
> From: asha g <address@hidden>
>To: Sergei Steshenko <address@hidden> 
>Cc: "address@hidden" <address@hidden> 
>Sent: Friday, February 3, 2012 6:12 AM
>Subject: Re: Inexplicable error message 
> 
>
>Yes - You are absolutely right - it was a bracket in the line above taufactor. 
>Why is it that octave points at the wrong lines ?
>Asha 
>
> 
> 
> 
> 
> 
>Goals too clearly defined can become blinkers. 
>Mary Catherine Bateson 
>
>
>
>________________________________
> From: Sergei Steshenko <address@hidden>
>To: asha g <address@hidden>; "address@hidden" <address@hidden> 
>Sent: Thursday, 2 February 2012 8:59 PM
>Subject: Re: Inexplicable error message 
> 
>
>
>
>
>
>>________________________________
>> From: asha g <address@hidden>
>>To: "address@hidden" <address@hidden> 
>>Sent: Thursday, February 2, 2012 2:55 PM
>>Subject: Inexplicable error message 
>> 
>>
>>
>>
>> I have a script file in which I had written the following :
>>
>>
>>taufactor = (tau)/(Cm*pi*d);
>>I= 0.1*(10^-9); % amperes
>>
>>when I run it I get 
>>octave3.2:1> cabunpa2sevoltNoct2
>>parse error near
line 61 of file /home/ashag/Desktop/passivedendrite/cabunpa2sevoltNoct2.m
>>
>>  syntax error
>>
>>>>> taufactor = (tau)/(Cm*pi*d);
>>             ^
>>
>>parse error near line 61 of file 
>>/home/ashag/Desktop/passivedendrite/cabunpa2sevoltNoct2.m
>>
>>  syntax error
>>
>[snip]
>
>
>Maybe actual error is above the
>
>taufactor = (tau)/(Cm*pi*d);
>
>line.
>
>Regards,
>  Sergei.
>
>

Parsers are formal machine, they stop at the first place that looks like an 
illegal language construct to them.

Regards,
  Sergei.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]