Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Errors compiling project when arrays referenced in repor
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00186200
Message ID:
00186635
Vues:
17
>I want to add something to this. This is an age-old bug in the FoxPro app/exe compiler. Goes back to at least 2.5, maybe earlier. But it's an incorrectly reported error from the compiler which can be ignored while compiling, and causes no error at runtime.
>
>This is for anyone else who may be reading this thread. I think everyone who's contributed to the thread so far knows this. You get an error when compiling a project into an app/exe, if you've reference an array which is properly in scope but the compiler doesn't realize it (because the app/exe compiler looks at [] and () as function calls while it's compiling, doesn't even check to see whether they might be array references).
>
>If you ignore the error while compiling, it causes no problem when you run the app/exe.
>
>I've always gone into prgs where this was a problem, and put the EXTERNAL ARRAY command, because I found the compile-time errors annoying. But I wouldn't go through all these backflips to try to stop compile-time errors from your report, when they won't cause any run-time errors.
>
>My US$.02
>Rich

Oh, I agree, this error can safely be ignored. I just like my builds to only show me REAL errors. I get enough of those, I don't need to sort out the "wheat from the chaffe", if you know what I mean. For me, I don't even include my reports in projects anymore, but that's mainly so I don't have to bother EXCLUDING them, since we let the user change them as needed. But you are indeed correct, there is no run-time problem caused by this "error".
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform