Ok. I get it. Thanks for explaining.
Andrew
<[EMAIL PROTECTED]> wrote in message news:22271@palm-dev-forum...
>
>
>
> > Makes sense. But even if you don't migrate the preferences backwards,
> > shouldn't the older preferences stay the same? Not a major issue, just
a
> > curisoity question.
>
> For background, let me first explain what's going on here. In Poser 3.0a6
and
> earlier, the serial port setting was saved as a single entry in the
preferences
> file. For example:
>
> CommPort=COM2
>
> For Poser 3.0a7, I changed this to an array of entries in order to support
> things like devices with multiple serial ports (note, this is NOT a new
product
> announcement...I'm just trying to anticipate possibilities in order to
minimize
> disruption later). For example:
>
> CommPortList[0]=COM2
>
> When converting the single entry to an array, I tried adding code to fill
the
> first element of the array with the old preference setting. So when
moving to
> Poser 3.0a7, you should still see that setting.
>
> However, in that conversion, I get rid of the old single-entry serial port
> preference. I don't like my preference files full of old, obsolete
entries. So
> when you run Poser 3.0a6, it doesn't find that entry, nor does it know how
to
> deal with the array of entries. So not only does it not migrate backwards
the
> serial port information, but it also takes the step of deleting the array
of
> entries that Poser 3.0a7 created! In general Poser always deletes
preference
> entries that it doesn't know about.
>
> -- Keith Rollin
> -- Palm OS Emulator engineer
>
>
>
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/