>I keep getting an error message for each array that I use in my program when I build the executable.
>
>The error message is "Unable to find Unknown (Arrayname)"
>
>I get no indication when I chose the display errors option on the build.
>
>Program seems to run OK from executable.
>
>I am using VFP 6.0 with all service packs loaded.
>
>Is there a way that I can avoid these errors?
>
>TIA,
>Maynard
See the EXTERNAL command.
You can also trick the compiler (to ignore the error, which really isn't an error) by creating a dummy PRG, with a function for each array that causes you trouble (same name as the array). Exclude it from the project.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)