OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [itcl/] [itcl/] [tests/] [old/] [Bar.tcl] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
#
2
# Old test suite for [incr Tcl] v1.5
3
# ----------------------------------------------------------------------
4
#   AUTHOR:  Michael J. McLennan
5
#            Bell Labs Innovations for Lucent Technologies
6
#            mmclennan@lucent.com
7
#            http://www.tcltk.com/itcl
8
#
9
#      RCS:  $Id: Bar.tcl,v 1.1.1.1 2002-01-16 10:24:47 markom Exp $
10
# ----------------------------------------------------------------------
11
#            Copyright (c) 1993-1998  Lucent Technologies, Inc.
12
# ======================================================================
13
# See the file "license.terms" for information on usage and
14
# redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
15
 
16
itcl_class Bar {
17
        #
18
        #  Constructor/destructor add their name to a global var for
19
        #  tracking implicit constructors/destructors
20
        #
21
        constructor {config} {
22
                global WATCH
23
                lappend WATCH [namespace current]
24
        }
25
        destructor {
26
                global WATCH
27
                lappend WATCH [namespace current]
28
        }
29
 
30
        method config {config} {
31
                return $config
32
        }
33
 
34
        #
35
        #  Define variables that will be shadowed by another class.
36
        #
37
        public blit
38
        protected _blit
39
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.