delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2011/10/26/13:59:59

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Wed, 26 Oct 2011 10:56:49 -0700
From: Andrew Poelstra <asp11 AT sfu DOT ca>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] unit suffixes
Message-ID: <20111026175649.GA667@malakian.lan>
References: <CACwWb3AsjS6h9ik40SSiyZ25tG_p3ecED5YZs+XUFERwG60M3Q AT mail DOT gmail DOT com>
<201110251154 DOT p9PBs7Ux023255 AT envy DOT delorie DOT com>
MIME-Version: 1.0
In-Reply-To: <201110251154.p9PBs7Ux023255@envy.delorie.com>
User-Agent: Mutt/1.5.20 (2009-12-10)
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Tue, Oct 25, 2011 at 07:54:07AM -0400, DJ Delorie wrote:
> 
> > Recent PCBs saves coordinates with unit suffixes.
> 
> Well, *yesterday*'s PCB at least ;-)
> 
> > Can I use them in actions as well?
> 
> That depends on the actions.  I don't think anyone has audited all the
> actions to make sure they all call the same units-parsing function.
> They should, and should be fixed if they don't.

This should be fine. I did something of an audit as part of my initial
work. Any unit-parsing code I didn't touch would be very broken by the
nanometers conversion.

So, either you can use unit suffixes, or the action doesn't work anyway.
;)

-- 
Andrew Poelstra
Email: asp11 at sfu.ca OR apoelstra at wpsoftware.net
Web:   http://www.wpsoftware.net/andrew
"I don't understand. Are you saying dualism is always good, or always bad?"

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019