[gforth] / gforth / objects.fs  

gforth: gforth/objects.fs

Diff for /gforth/objects.fs between version 1.14 and 1.15

version 1.14, Mon Jul 5 18:54:20 1999 UTC version 1.15, Mon Jul 5 19:56:01 1999 UTC
Line 263 
Line 263 
     \g Add @var{class}'s wordlists to the head of the search-order.      \g Add @var{class}'s wordlists to the head of the search-order.
     >r get-order r> add-class-order set-order ;      >r get-order r> add-class-order set-order ;
   
 : methods ( class -- )  : methods ( class -- ) \ objects- objects
     \g Makes @var{class} the current class. This is intended to be      \g Makes @var{class} the current class. This is intended to be
     \g used for defining methods to override selectors; you cannot      \g used for defining methods to override selectors; you cannot
     \g define new fields or selectors.      \g define new fields or selectors.
Line 297 
Line 297 
     \g on the search order.      \g on the search order.
     >r get-order r> remove-class-order set-order ;      >r get-order r> remove-class-order set-order ;
   
 : end-methods ( -- )  : end-methods ( -- ) \ objects- objects
     \g Switch back from defining methods of a class to normal mode      \g Switch back from defining methods of a class to normal mode
     \g (currently this just restores the old search order).      \g (currently this just restores the old search order).
     current-interface @ drop-order ;      current-interface @ drop-order ;


Generate output suitable for use with a patch program
Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help