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

 
Output of file : OCLIP.CH contained in archive : OCLIP.ZIP
/*
ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
º o:Clip º
º An Object Oriented Extension to Clipper 5.01 º
º (c) 1991 Peter M. Freese, CyberSoft º
ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ

Version 1.0a - November 25, 1991
*/

#xcommand CLASS FROM => ;
CLASS _FROM ()

#xcommand CLASS [ _FROM ] => ;
FUNCTION ;;
STATIC hClass := 0, oParent;;
LOCAL oNew;;
if hClass == 0;;
oParent := __DefineClass(<"name">,<{parent}>)

#xcommand VAR [,] => ;
__AddVar(<"var1">) [; __AddVar(<"varN">)]

#xcommand METHOD [,<*methodN*>] => ;
__AddMethod(<"methodName">, <"methodName">) [; METHOD ]

#xcommand METHOD = [,<*methodN*>] => ;
__AddMethod(<"methodName">, <"methodUDF">) [; METHOD ]

#xcommand ENDCLASS => ;
hClass := __MakeClass();;
end;;
oNew := __ClassIns(hClass);;
oNew\[1] := oParent;;
RETURN oNew

#xtranslate :: => self:

#xtranslate super => parent

#xtranslate parent: => ;
__PARENT( {|o| o: } )

#xtranslate parent::<*Anything*> => ;
parent: ;;
#error Chaining not allowed after overridden method call.

#command METHOD FUNCTION <*formals*> => ;
FUNCTION ;;
LOCAL self := QSELF()

#command METHOD PROCEDURE <*formals*> => ;
PROCEDURE ;;
LOCAL self := QSELF()



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

  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/