Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is PARAMETERS?
Message
 
 
À
23/08/2001 20:01:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00548260
Message ID:
00548403
Vues:
7
>...and, to round it all out, there are the parameters indicated within parentheses after the name on a FUNCTION statement. These are implicitly LOCAL too,although I couldn't find this documented in the (VFP7) Help for "FUNCTION Command".
>
Ok Jim, You started this:)

Let's take a closer look at FUNCTION Command in the help:

1. No mentation about PARAMETERS statement or why it shouldn't be used here.

2. From help "To distinguish a program file name with more than 10 characters from a function beginning with the same 10 characters in these two products, surround the program file name with quotation marks or include an extension after the program file name." Can somebody explain to me what does it mean? What two products?

3. How would you call function usually? m.somevariable = Somefunction()? You would think so but help only says "When you issue DO with a function name, Visual FoxPro searches for the function in a specific order as follows: ...".

4. The example instead of showing a simple function with parameters for some reason uses a custom object class.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform