Subject:
|
Re: LDRAWPREDIRS LDRAWPOSTDIRS - Summary please!
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Mon, 15 Mar 2004 01:42:53 GMT
|
Viewed:
|
3851 times
|
| |
| |
In lugnet.cad.dev, Michael Lachmann wrote:
> "Travis Cobbs" wrote:
> > 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 .....
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 writeprivateprofilestring. It sounded
like Lars was going to use these functions, so I think we should stick
with that plan.
Don
|
|
Message has 1 Reply:
Message is in Reply To:
| | Re: LDRAWPREDIRS LDRAWPOSTDIRS - Summary please!
|
| "Travis Cobbs" <tcobbs@REMOVE.halibut.com> schrieb im Newsbeitrag news:HuG3s7.qDu@lugnet.com... <SNIP> (...) it out (...) appear in (...) data (...) numbers (...) responded. (...) the (...) the (...) Easier ? Hmmm - when you read from a file its (...) (21 years ago, 14-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
|
|
|
|