Greg (Jon?) Rothlander <[EMAIL PROTECTED]> wrote:

> In the old language they are using a string constant such as:
> Const c1FullAddr as String = "1 Colonial Drive  Parma  Ohio 21321"
> Then they follow that up with another constant:
> Const c1FaLen as String = c2FullAddr.length

Since you're converting an old application, you might also want to be
careful so that no assumptions along the lines of "c1FaLen * 8 bits of
storage are needed for the address" are made somewhere. Usually when people
store the length of a string explicitly, it's, in my experience, used for
that or a similar purpose (writing records, allocating space etc). c1FaLen
will only tell you how many letters/characters/glyphs c1FullAddr contains
(the usefulness of which I don't really perceive).

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to