To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / *7515 (-20)
  Re: Delphi and decimal signs.
 
"Tore Eriksson" <tore.eriksson@mbox3...wipnet.se> skrev i meddelandet news:3B8154F2.D99058...pnet.se... (...) national settings? The problem is that numerical constants in the code must always adhere to the English notation (decimal point). (...) (23 years ago, 20-Aug-01, to lugnet.cad.dev)
 
  Re: Delphi and decimal signs.
 
Careful manipulation? All I need to do is add the line DecimalSeparator := '.'; to FormCreate and all my problems are gone! Gary, you are a hero! I'll check out ThousandSeparator later. Thanks again! /Tore (...) (23 years ago, 20-Aug-01, to lugnet.cad.dev)
 
  Re: Delphi and decimal signs.
 
(...) With careful manipulation of the DecimalSeparator and ThousandSeparator global variables, one could write a Delphi app that reads/writes periods (full stop symbols) from/to DAT files, but displays the locale-specific symbols to the user and (...) (23 years ago, 20-Aug-01, to lugnet.cad.dev)
 
  Re: Delphi and decimal signs.
 
Aah, that explains a lot. Thank you for your quick reply! /Tore (...) (23 years ago, 20-Aug-01, to lugnet.cad.dev)
 
  Re: Delphi and decimal signs.
 
(...) national settings? f := 3.14; // correct f := 3,14; // error f := StrToFloat('3.14'); // correct f := StrToFloat('3,14'); // error s := FloatToStr(3.14); // s is assigned '3.14' -Gary (23 years ago, 20-Aug-01, to lugnet.cad.dev)
 
  Delphi and decimal signs.
 
Look at following Delphi code: s: string; f: double; i: Integer; begin f := 3.14; // correct f := 3,14; // error (of course...) f := StrToFloat('3.14'); // error f := StrToFloat('3,14'); // correct s := FloatToStr(3.14); // s is assigned '3,14' Is (...) (23 years ago, 20-Aug-01, to lugnet.cad.dev)
 
  LDraw FilTEr
 
I played around a little with an idea I had from working with ldboxer. No code is written yet, but you'll get a good idea of what I am thinking of if you watch this: (URL) (43 Kb) Just like in the ldboxer, the presentation of the Input File will be (...) (23 years ago, 20-Aug-01, to lugnet.cad, lugnet.cad.dev)
 
  Re: BFC revisited
 
(...) I double-checked the primitives I had, to make sure they were OK. I zipped them up, and posted them on my Geocities site. You can grab a copy from (URL). Steve (23 years ago, 20-Aug-01, to lugnet.cad.dev)
 
  Technic Link vs Technic Rod
 
The name of part 2637 "Technic Link 16L" is a bit problematic, because it interferes with the 3711 "Technic Link Chain" and 3873 "Technic Link Tread". Would it make sense to rename 2637 to "Technic Rod 16L"? That way, it would appear in it's own sub (...) (23 years ago, 20-Aug-01, to lugnet.cad.dev)
 
  Re: BFC revisited
 
Gary Williams wrote... (...) Steve, please note that Gary pointed out that some parts are badly formatted... "l3p -check" doesn't complain, as "0 CERTIFY BFC CW" is a perfectly legal comment :-) I don't think l3p easily can be made to check this, "0 (...) (23 years ago, 19-Aug-01, to lugnet.cad.dev)
 
  Re: BFC revisited
 
(...) Cool! (...) will do. (...) I'm not understanding the problem. I've made versions of the sloping cylinders that are bfc-compliant. (...) Do you mean the problem (not just with sloped cylinders) that sometimes primitives are used for the outside (...) (23 years ago, 17-Aug-01, to lugnet.cad.dev)
 
  Re: Getting started: On Linux
 
Don: (...) :-) (...) Done. Jacob (23 years ago, 17-Aug-01, to lugnet.cad.dev.org.ldraw)
 
  Re: Getting started: On Linux
 
(...) switching it to version 0_9_1d? That's probably going to be the current version for a while. It's got the part inliner and most of the goodies I wanted to add to the LEdit emulation mode. Anyways, I've stopped working on the LEdit mode for (...) (23 years ago, 17-Aug-01, to lugnet.cad.dev.org.ldraw)
 
  Re: LDGLite bug report (yes, one more)
 
(...) I think it's gonna be a while before I can get organized enough to roll a new release, but this edge line option, as well as the camera and near/far clip plane controls, have been added to the sources if you want to try it out. You can get (...) (23 years ago, 17-Aug-01, to lugnet.cad.dev)
 
  Re: Getting started: On Linux
 
"Jacob Sparre Andersen" <sparre@nbi.dk> wrote in message news:GI7M3y.E8n@lugnet.com... (...) Actually, the rating system never came into full effect. Right now, I leave it at whatever the author puts on it - which leaves it a bit skewed. Ideally, (...) (23 years ago, 17-Aug-01, to lugnet.cad.dev.org.ldraw)
 
  Re: BFC revisited
 
(...) I would appreciate that. -Gary (23 years ago, 17-Aug-01, to lugnet.cad.dev)
 
  Re: Getting started: On Linux
 
Great. I will have to take a look, because I still did not succeed to get things running on Linux :-( (...) (23 years ago, 17-Aug-01, to lugnet.cad.dev.org.ldraw)
 
  Re: Getting started: On Linux
 
Fredrik: (...) Yes. It was just slightly confusing for me to get it to work with non-wrapped lines. Does it look better now. (...) I think it is whatever mood Tim is in, that decides, but Tim will have to answer that himself. Play well, Jacob -- (...) (23 years ago, 17-Aug-01, to lugnet.cad.dev.org.ldraw)
 
  Re: Getting started: On Linux
 
(...) to be done to get started with LDrawing. Just one comment on the URLs: They appear to be line wrapped, e.g. in Step 1: user$ wget (URL) linux-ldraw-library.tar.gz Wouldn't this be somewhat confusing for the user? There's also a similar example (...) (23 years ago, 17-Aug-01, to lugnet.cad.dev.org.ldraw)
 
  Getting started: On Linux
 
I have updated my installation guide for getting started drawing and viewing building instructions on Linux: (URL) has created a similar - somewhat more extensive - page for Windows users, and a MacOS specific page should also be on its way. Have a (...) (23 years ago, 17-Aug-01, to lugnet.cad, lugnet.cad.dev.org.ldraw)  


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR