Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Arrays and creating executable
Message
From
13/03/2003 12:54:30
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
13/03/2003 12:52:46
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00765473
Message ID:
00765475
Views:
23
>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)
Previous
Reply
Map
View

Click here to load this message in the networking platform