|
Posted by Lowell Herbert on 09/27/05 23:29
On Sep 27, 2005, at 4:19 PM, Jasper Bryant-Greene wrote:
> Lowell Herbert wrote:
>
>> Thanks for all the responses. I understand that $site is an
>> instance of the class CSite, and that Run() is a function in that
>> class. I do not understand what the operater "->" means, and
>> what meaning the result of the function Run() has to $site.
>> Clarification anyone?
>>
>
> The operator -> in this context ( $site->Run() ) sort of means "the
> function Run() inside the object $site".
>
> The result of the function (if there is one) is thrown away,
> because you don't assign it to anything. If you did this then it
> would be assigned to something:
>
> $result = $site->Run();
>
Thank you for your clear explanation!!!
Lowell
[Back to original message]
|