Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simply Amazed
Message
 
À
18/07/1996 06:29:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00004015
Message ID:
00004195
Vues:
38
As i was saying:

>while in fox as the previous example shows u can define
>a procedure to act just as a function

Yes i know that, so what we have is an ambiguous way of defining them, but also, an ambiguous way of CALLING them (with Parenthesis or with DOs), and here is where the "real" probblems appear. What your sense of reality would say about this: you call a PROCEDURE defined subroutine using a FUNCTION-like SYNTAX (with parenthesis), does it have it parameters passed by REFERENCE (as in PROCEDURES) or by VALUE (as in FUNCTIONS) ?
IMHO, no mather what the response is, the difference this araises is as important for "real" programmers as the one between PRIVATE and LOCAL variables in VFP!

Not to mention that METHODS (wich actually was what made Tom be shocked) don't follow the sintax for CALLING func. nor for proc. anyway.

J. Luis
J. Luis Santiago Rodríguez.• CADIS • E-mail: jlsantiago@iserve.net.mx• Ciudad de México.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform