Re: Initialisation of unused keys in POSITION


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Bob Acker on August 26, 2009 at 13:59:14:

In Reply to: Re: Initialisation of unused keys in POSITION posted by Grant Foraker on August 26, 2009 at 13:38:53:

no... I wasn't worried about changing anything with the POSITION.

My question was simply that I don't have to worry about garbage left in the buffer used for the key, or whatever the values are in the "right hand" part of the buffer used for the key.

so therefore, positioning at country "New York" (and nothing else) would give me the following key with the first Inquire:

"New York":"NY":"Bronx"

In some other systems, I've learned to explicitly fill the key such as:

KEY = Country$ + @0000@ + STRING("@00@",20)

so that the (assumedly LEN=2) StateProv string was "Null Filled", as was the (assumedly LEN=20) City name, to insure I got the right pointer.

like when doing ENCRYPT... if you don't pre-fill the string or the seed explicitly with spaces @20@, you might get junk which you wouldn't know until you did the DECRYPT

Thanx!


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]