Fabio,
It's documented VFP behavior so it's not a bug. I repeat again, if something in VFP doesn't work the way you like doesn't make it a bug. You can send request to VFP team to make changes you want but it should be ER not bug report.
>Previous issue Thread #
961358>
>Bug/Issue : 12 of 33
>
>TITLE: Design bug, ALINES() of a NULL string, return 1 and it fills up the array's row with a '' string
>
>VERSION: 09.00.0000.1720 and VFP8SP1
>
>EXPECTED:
>ALINES(ax,null) return 0 without execute any operation on ax
>
>OBSERVED:
>ALINES(ax,null) return 1, build/dimension ax to 1 and fill it with '' string.
>This is a behaviour written on help, but this is a chosen completely mistaken,
>why it generates a loss of data information,
>and it generates mistaken information from the null one, because it transforms a disowned data in an empty known data;
>that it forces to complicate the code uselessly.
>
--sb--