[Tutor] Field/Variable References

Serdar Tumgoren zstumgoren at gmail.com
Fri Dec 18 21:27:12 CET 2009


> Why negative indexes when fields lengths are known?

I'll admit I made a few assumptions based on what I could glean from the OP:

* names will vary in length in a questionnaire or poll (which this
appears to be)
* answers will always be represented by a single digit
* area code (at least in US) will always be 3 digits

Of course, those assumptions could be wrong, but I tried to allow for
them just in case. Depending on the use, it very well might be
overkill...

Serdar


More information about the Tutor mailing list