help-octave
[Top][All Lists]
Advanced

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

Re: imaginary unit


From: Bill Denney
Subject: Re: imaginary unit
Date: Fri, 28 Apr 2006 18:01:29 -0400 (EDT)

On Wed, 26 Apr 2006, Przemek Klosowski wrote:

Perhaps the use of predefined 'i' should elicit a warning?

I'm personally more in favor of a lint-like command-line option where it would say something like:

warning: You are redefining the internal constant i (imaginary number)

And something like (for an example farther down the thread)

warning: Your variable name "clear" is the same as a function.

(Ignorance warning) Parse errors are already handled in the parser-- how hard would it be to add parse warnings if lint was turned on?

Bill

--
"Negotiating with oneself seldom produces a barroom brawl."
  -- Warren Buffett



reply via email to

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