>>Regarding Mike Gagnon's suggestion, remember that you have already a series of integer values, not of 32-bit integers, but of 8-bit integers. That's what a string is. To hold 250 different logical values, CEILING(250 / 8) = 32 characters would be enough, and a string like yours "YYYNYYNN" could be represented as a single CHR(236).
>
>Hi Antonio,
>
>Thank you for your suggestions. As far as your explanation of 250 logical values and 32-bit integers, I hang my head in shame. I don't understand it off the typed message (lack of formal computer education shows). But I will read it again and hopefully get it, at some point. Thank you.
Dmitry, you'll see that it's not that complicated.
Unfortunately, VFP does not have a native representation of binary numbers, but the functions that Thomas referred you to are what you need to question and set a bitmap of this sort, and that you can even incorporate in SQL queries if you want to.
----------------------------------
António Tavares Lopes