It is not a bug. The VFP Help file on SCATTER indicates the fields are copied to the array in sequential order. So skipped fields will cause an error when you gather from the array. Use SCATTER NAME ObjectName instead. See VFP Help on SCATTER using the NAME option. Then your GATHER will work properly.
>Hello,
>
>I´ll try to explain.
>
>I have a progam that works with free and contained tables. That´s why I need to use the TO ARRAY words.
>
>I have a table with a General Field.
>I try to use SCATTER MEMVAR MEMO TO ARRAY but it doesn´t recognize General fields -and doesn´t return an error-.
>
>If the table has 10 fields with one GENERAL , and that field is in the middle the posterior fields in the array moves one position.
>
>SO,
>
>Does anybody has a similar function / vcx that mimics the SCATTER / GATHER functions?
>
>Regards,
>Pablo V
Mark McCasland
Midlothian, TX USA