Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simply Amazed
Message
From
19/07/1996 08:13:47
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00004015
Message ID:
00004228
Views:
34
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform