![](/news/x.gif) | | LDBoxer Available at SourceForge
|
|
(...) I've played around a little with my old LDBoxer program. The new version auto-boxes a lot more safe-to-box parts than previous versions. Added support for parts without studs and parts without bottom details (URL) Replace button is made (...) (15 years ago, 21-Mar-10, to lugnet.cad.dev)
|
|
![](/news/x.gif) | | Developing LDBoxer Again
|
|
After seven years of thinking and hesitating, I have decided to improve my utility progam LDBoxer. There are lots of room for improvements, but to begin with, I will fix a couple of bugs I have discovered. Then I will focus on making two new (...) (15 years ago, 20-Mar-10, to lugnet.cad.dev)
|
|
![](/news/x.gif) | | Re: number notation in official parts
|
|
(...) Yes, and no, or rather, maybe. In Delphi you would do something like Write(Format('%g', [Value])); i.e more or less the same format strings as in C. But, it is type-safe at runtime :-) (15 years ago, 12-Mar-10, to lugnet.cad.dev)
|
|
![](/news/x.gif) | | Re: number notation in official parts
|
|
(...) Thanks for the info. I've always used perl scripts to convert oddly formatted data to a consistent format and then read it like that. Nice to know I don't always have to. If it could only read some of the more bizarre Fortran formats I'd never (...) (15 years ago, 12-Mar-10, to lugnet.cad.dev, lugnet.off-topic.geek)
|
|
![](/news/x.gif) | | Re: number notation in official parts
|
|
(...) All float specifiers (e, E, f, g, G) are treated identically by the scanf functions. When scanning floats, they always recognize all float formats. One other thing about %g on output is that it automatically strips trailing zeros, which %f (...) (15 years ago, 12-Mar-10, to lugnet.cad.dev)
|
|
![](/news/x.gif) | | Re: number notation in official parts
|
|
(...) Ahhh. I'd never heard of %g before now. I'm so used to %f and %e it had never occured to me that there might be a mixed option. Handy to know as I suspect it would be helpful in reading files of unknown format. I'm sure Delphi has some hideous (...) (15 years ago, 12-Mar-10, to lugnet.cad.dev)
|
|
![](/news/x.gif) | | Re: number notation in official parts
|
|
(...) Actually, in C, %g does exactly this. Having said that, I think LDDP is a Delphi app, so it uses Pascal, and I don't remember how Pascal does formatting. --Travis (15 years ago, 12-Mar-10, to lugnet.cad.dev)
|
|
![](/news/x.gif) | | Re: number notation in official parts
|
|
(...) I definitely know this. I see them far too much in my job as a numerical physicist ;) My point is that to write in mixed format (some %f and others %e) requires some strange coding unless there is a weird language which does it automatically. (...) (15 years ago, 12-Mar-10, to lugnet.cad.dev)
|
|
![](/news/x.gif) | | Re: number notation in official parts
|
|
(...) Hmm, I thought I killed that "feature". I'll look into it as I find time to finish up LDDP 2.1 -Orion (15 years ago, 11-Mar-10, to lugnet.cad.dev)
|
|
![](/news/x.gif) | | Re: number notation in official parts
|
|
(...) I mostly agree with this policy. (...) There is nothing strange in the routines, it is the standard format used to represent very large or very small numbers in a limited number of digits. Actually since values never get very large in LDraw (...) (15 years ago, 11-Mar-10, to lugnet.cad.dev)
|