Category : Dbase (Clipper, FoxBase, etc) Languages Source Code
Archive   : OCLIP.ZIP
Filename : ODEMO2.PRG

 
Output of file : ODEMO2.PRG contained in archive : OCLIP.ZIP
#include "oclip.ch"

LOCAL o2 := Sample2():New("World")
o2:Hello()

RETURN

CLASS Sample1
VAR Who
METHOD New = Sample1New, Hello = Sample1Hello
ENDCLASS

METHOD FUNCTION Sample1New(cWho)
::Who := cWho
RETURN Self

METHOD FUNCTION Sample1Hello
? "Hello",::Who
RETURN Self

CLASS Sample2 FROM Sample1
METHOD Hello = Sample2Hello
ENDCLASS

METHOD FUNCTION Sample2Hello
::parent:Hello()
? "Greetings and salutations!"
RETURN Self



  3 Responses to “Category : Dbase (Clipper, FoxBase, etc) Languages Source Code
Archive   : OCLIP.ZIP
Filename : ODEMO2.PRG

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/