"Keith Rollin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > At 2:36 PM -0600 11/20/03, Gregg Woodcock wrote: > >"Keith Rollin" <[EMAIL PROTECTED]> wrote in message > >news:[EMAIL PROTECTED] > > > Why not hard code it as a string resource, and use that string to (a) > > > initialize your form, and (b) use it for the other part of your program? > > > >I think this is (essentially) what I will do however I think it is best to > >make it a non-1/non-1000 'tver' resource. I am using tver 1 for the real > >version and I guess I'll use tver 2 for the date. Does this seem > >appropriate? > > Nope, not when there's a perfectly good resource type ('tSTR') > already available for storing strings! :-) I can't think of any good > reason for trying to subvert a completely different resource type for > this purpose.
There are VERY good reasons to do this: #1, there are no practical differences between types 'tSTR' and 'tver' (except for #1/#1000). #2, this is a VERY special string and it relates DIRECTLY to the version of the app (and to tver #1/#1000). #3, being as #1 and #2 are true, doing it this way makes it more "readable" as it has "self-commenting" implications. Now, what I was asking is for you to give me a good reason *NOT* to do it. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
