> Incidentally a documentation addendum: PrefGetAppPreferences returns an > Int16 which is described as being "noPreferenceFound" if the preference > resource is not found. Undocumented is the fact that if the resource IS > found, the routine returns the version number of the preference (as set > by the version parameter of PrefSetAppPreferences). >From inspection, this has been documented in the PalmOS 4.0 SDK. It was brought up here in mid-December, maybe a couple of weeks after PalmSource. > One more documentation addendum while I'm poking around: > PrefSetAppPreferences will DELETE a preference if either the prefSize > parameter is set to 0, or the prefs parameter is set to 0 (i.e., null > pointer in the latter case). This behavior is not documented in the 4.0 DR3 docs, but it does seem useful. Another documentation bug here: in the list of parameters for PrefSetAppPreferences, it shows an output arrow for "prefs" rather than an input arrow. -- Ben Combee Veriprise Wireless <http://www.veriprise.com> -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
