![]() |
|
|
+ Search |
![]()
|
Mar 22nd, 2008 21:09
ha mo, Himanshu Jain,
A method is a function of any name declared within a class;
Class point
{
//properties
var $x = 0;
vr $y = 0;
//constructor
Function point( $x , $y )
{
//set up code goes here
}
//method
function moveTo( $x , $y )
{
}
}
http://www.tantofa.com
http://www.fantofa.com
http://www.mantofa.com
http://www.tanpola.com
http://www.tampola.com
http://www.yamot.com
http://www.mozmar.com
http://www.templatestemp.com