General information
Title:
Compacting information into a string...
Hello:
I need to do the following:
I have an array of three numbers, and I need to create a string where the first two bytes are the first number, and the second and third bytes are the second and third numbers of the array, respectively. This is because the first number is always above 255, and the other two are always below 255, so they need only one byte of storage. Now my problem is that the values are stored as Numeric data type in the array, and how do i go around "pasting" each of the three numbers into a small string:
Example: the numbers are 1000,2 and 4
I need something like this:
s=####
Where the first two ## store the 1000, and the second and third # store the last two numbers.
How do I do this in Fox Pro?
Any help is appreciated...
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only