« Return to Thread: Why is the following undefined?

Re: Why is the following undefined?

by Philippe Lavoie :: Rate this Message:

Reply to Author | View in Thread

Not a very scientific test, but there was a readme.txt file in my local folder.  (first two lines are empty, then some Enlish text).

So I typed

> readme
error: `readme' undefined near line 2 column 1
> a = 1;
> b = 2;
> readme
error: `readme' undefined near line 4 column 1

The line number seem to be correlated to where I am in the Octave CLI and it doesn't refer to any particular line number of the readme file.

I think the error message should be 'Can't find readme.m'.

Regards

Phil

-----Original Message-----
From: Søren Hauberg [mailto:soren@...]
Sent: June-17-09 11:47 AM
To: Philippe Lavoie
Cc: octave-dev@...
Subject: RE: [OctDev] Why is the following undefined?

ons, 17 06 2009 kl. 10:12 -0400, skrev Philippe Lavoie:
> In this case, the context was error brain failure, i.e. I saved the file without the .m extension and I didn't realize it. Still an odd error message, I think the line 61 was actually referring to the last successful line executed within the octave CLI.

>
> Odd

I agree that the error message is somewhat misleading. I remember this
problem in the development series. What version are you running? If
you're running 3.2, then it would be nice if you could come up with a
simple example that triggers this behaviour.

Søren


Confidentiality Message

This e-mail and its content is confidential: its privileged information is intended for the exclusive use of the addressee. Any other person is strictly prohibited from disclosing, distributing or reproducing it. If the addressee cannot be reached or is unknown to you, please inform the sender by return e-mail immediately and delete this e-mail message and destroy all copies.

Avis de confidentialité

Le présent courriel et son contenu est confidentiel: l'information privilégiée est à l'usage exclusif du destinataire ci-dessus. Toute autre personne est par les présentes avisée qu'il lui est strictement interdit de le diffuser, le distribuer ou le reproduire. Si le destinataire ne peut être joint ou vous est inconnu, veuillez informer l'expéditeur par courrier électronique immédiatement et détruire ce message et toute copie de celui-ci.
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Octave-dev mailing list
Octave-dev@...
https://lists.sourceforge.net/lists/listinfo/octave-dev

 « Return to Thread: Why is the following undefined?