Re: newbie question about code
| From: | Joshua Kehn | Date: | Fri, 10 Sep 2010 18:27:15 +0000 |
| Subject: | Re: newbie question about code | ||
| References: | 1 | Groups: | php.general php.general php.general |
| Request: | Send a blank email to php-general+get-307925@lists.php.net to get a copy of this message | ||
Adam-
That is a function call. In Java:
class Code
{
public static void function do_command(){ }
}
Code.do_command();
Regards,
-Josh
____________________________________
Joshua Kehn | Josh.Kehn@gmail.com
http://joshuakehn.com
On Sep 10, 2010, at 2:27 PM, Adam Williams wrote:
> I'm looking at someone's code to learn and I'm relatively new to programming.
> In the code I see commands like:
>
> $code->do_command();
>
> I'm not really sure what that means. How would that look in procedural style programming?
> do_command($code); or something else?
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>