home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
xbase
/
compiler
/
doobject
/
method.do
< prev
next >
Wrap
Text File
|
1991-03-18
|
268b
|
25 lines
/*
method definition
*/
method X::test3(self)
{
return(self);
}
/*
this method defines the "lt" operator for class "x"
*/
method X::<(self)
{
return(11);
}
/*
main program
*/
inherit(Object,X,[]);
a = new(X);
? "a = ",a;
show methods;