Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simply Amazed
Message
De
19/07/1996 08:13:47
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00004015
Message ID:
00004228
Vues:
39
>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!

which is what i said in the first place - no real diff. <s>

>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.

METHOD are called by specifying the path to them
eg. myobject.method(param1)
this logically means that DO myobject.method WITH param1 should
work (untested)
and as i told u in VFP5.0 u can call proc/functions just like
methods (ie proc(param1) with out the "=" )

so this eliminates this inconsitency

Arnon
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform