Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Avoiding unknown references when building
Message
 
À
30/08/2001 00:54:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Divers
Thread ID:
00550696
Message ID:
00550710
Vues:
11
This message has been marked as the solution to the initial question of the thread.
>>>>>When building a project with the Build exe command, is there a way to avoid pressing the Ignore when we have those unknown references? Basically, I would like to execute that command so it won't pop up this confirmation window.
>>>>
>>>>I just hit 'a' after clicking build. This presses 'Ignore All' in advance.
>>>
>>>Yeah, I've been doing that as well. But, what if it could be done automatically.
>>
>>You might declare these unknown references (variables? external arrays?) in a separate dummy procedure to fool the Project Manager. That procedure never gets called, but as long as it exists in the project it will not complain.
>
>Those are all unknown functions.
>
>How should I define that dummy procedure?

You can add it to main program for example.

PROCEDURE whatever && not called from anywhere.
unknown1 = "something"
RETURN

If they are unknown functions, try define a dummy object in code which never gets instantiated and add that unknown function in definition.


DEFINE CLASS dummy as Object
FUNCTION whatever
RETURN .F.
ENDFUNC
ENDDEFINE
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform