>Hi. I am new in FoxPro. I wonder how to convert a string to array of byte in FoxPro. thanks before.
lnStringLen = LEN( YourStringVar) && Gets the number of chars in the stringDIMENSION YourArrray(lnStringLen) && makes array of correct number of elementsFor I = 1to lnStringLen
YourArrray( I) = SUBSTR( YourStringVar, I, 1)
EndFor
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night - Worry is the interest you pay, in advance, for a loan that you may never need to take out.