You wouldn't get the error if you run it under VFP9.
>I downloaded your skinning example.
>
>Very nice.
>
>
>When I first ran it, it threw an error in ReadSkinDefinition.
>
>I changed
>
lnTotalElements = ALINES(aryRegionCoord, FILETOSTR(thisform.skindefinition), 1, ":") - 3>
>to
>
>
>lnTotalElements = ALINES(aryRegionCoord, FILETOSTR(thisform.skindefinition), .T., ":") - 3
>>
>and it works fine now.
--sb--