Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Third Party Analyzer
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00391928
Message ID:
00392141
Vues:
10
For example:

procedure whatever

private l_dorfus

l_drofus = 12 && typo, but another memory variable is created
l_dungus = u_get( "US" )

return

procedure u_get
parameter l_country, l_zip

return l_country+l_zip


Neither the typo nor the parameter mismatch is caught in the compiler



>What are you talking about?
>
>VFP catches those errors when you try to close the method editor. If you are referring to references created in a method, then yes, you are correct.
>
>However, the advantage of not having a stricter compiler is the benefit of having macro expansion - a benefit which far outweighs the type of compiler you are talking about.
>
>>One disadvantage of using Foxpro versus a stricter compiler is you can have errors that are typos, etc., that Foxpro doesn't catch that a compiler in a language with stricter typing will catch.
>>
>>Is there a third party tool out there for FoxPro that can do some of this type of checking?
>>
>>Bruce Strom
Bruce Strom

Prayer of St Ephrem:
O Lord and Master of My Life,
Take from me the spirit of sloth, meddling, ambition and vain talk.
But give me a spirit of prudence, humility, patience and love.
Yes Lord and King grant me to see my own sins and faults
and not judge my brother.
For You are Blessed Forever and Ever. Amen.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform