Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Undefined errors in reports based on arrays
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00183299
Message ID:
00183310
Vues:
19
>>>>>My company purchased a VFP 5 software package. I have been tasked with trying to figure out why it runs so slowly. When I built the application it generated about 40 undefined errors due to array references//parameters. I know these errors don't hurt the execution but I like things clean. I decided to get rid of them by adding EXTERNAL ARRAY declarations where needed. I did this to the PRG and SCX files and got the number of errors down to 7.
>>>>>
>>>>>Now I'm trying to get rid of these errors ... the On Entry expression ...didn't do it.

You can add a 'Dummy Procedure to the main procedure file - that way you don't have to find where each report or array is referenced.

PROCEDURE DUMMY
PUBLIC ArrayName1[1],ArrayName2[1], .... etc
Return

This fools the compiler and gets rid of the annoying messages. It is never called so doesn't actually affect the program.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform