General information
Category:
Coding, syntax & commands
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only