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 / 6382 (-10)
  Re: LDraw FilTEr
 
interesting. Gary Tore Eriksson <tore.eriksson@mbox3...wipnet.se> wrote in message news:3B813E9A.6D7C1F...pnet.se... (...) of if you watch this: (...) CheckBoxList. The boxes are not yet drawn. (...) (23 years ago, 20-Aug-01, to lugnet.cad, lugnet.cad.dev)
 
  Re: Delphi and decimal signs.
 
(...) screen (...) to (...) your (...) I would attack the problem thusly: Upon application startup, record the locale-specific decimal separator variable into a global variable named UIDecimalSeparator. Create wrappers for FloatToStr and StrToFloat (...) (23 years ago, 20-Aug-01, to lugnet.cad.dev)
 
  Re: Technic Link vs Technic Rod
 
(...) I agree. Also the newly created part 32293 should be renamed "Technic Rod 9 L" Marc Klein A Mindstorms fan. (23 years ago, 20-Aug-01, to lugnet.cad.dev)
 
  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)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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