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 / 9614
9613  |  9615
Subject: 
Re: LDRAWPREDIRS LDRAWPOSTDIRS - Summary please!
Newsgroups: 
lugnet.cad.dev
Date: 
Sun, 14 Mar 2004 19:38:15 GMT
Viewed: 
3867 times
  
"Travis Cobbs" <tcobbs@REMOVE.halibut.com> schrieb im Newsbeitrag
news:HuG3s7.qDu@lugnet.com...
<SNIP>
If it is just a sequential number, wouldn't it be easier to just leave • it out
altogether, and say the directories will be searched in the order they • appear in
the file?

The desire was to preserve standard Windows INI file formatting, and each • data
line in an INI file has the form <key> = <value> (spaces optional).  The • numbers
were suggested as keys, with positive responses from the people that • responded.

As a pratical manner, it's actually easier for a Windows program to load • the
settings this way, since it can repeatedly ask for the next numeric key in • the
[LDrawSearch] section until it gets a failed read.

Easier ? Hmmm - when you read from a file its more easy to do it by hand and
read it line by line.
If you read from the registry there is a enum function which returns every
value in a key ...

I'm still somehow a favorit of no numbers and equals at the beginning of the
line .....

Michael



Message has 1 Reply:
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - Summary please!
 
(...) Ah, but we've already covered this ground. In addition to the registry functions, there are also Windows functions for reading and writing to INI files in the format with the = sign. Search in this thread for getprivateprofilestring and/or (...) (21 years ago, 15-Mar-04, to lugnet.cad.dev)

Message is in Reply To:
  Re: LDRAWPREDIRS LDRAWPOSTDIRS - Summary please!
 
(...) The desire was to preserve standard Windows INI file formatting, and each data line in an INI file has the form <key> = <value> (spaces optional). The numbers were suggested as keys, with positive responses from the people that responded. As a (...) (21 years ago, 12-Mar-04, to lugnet.cad.dev)

132 Messages in This Thread:
(Inline display suppressed due to large size. Click Dots below to view.)
Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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