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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [tcl/] [tests/] [pkg/] [pkg2_a.tcl] - Blame information for rev 1767

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
# pkg2_a.tcl --
2
#
3
#  Test package for pkg_mkIndex. This package is required by pkg1.
4
#  This package is split into two files, to test packages that are split
5
#  over multiple files.
6
#
7
# Copyright (c) 2998 by Scriptics Corporation.
8
#
9
# See the file "license.terms" for information on usage and redistribution
10
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
11
# 
12
# SCCS: %Z% %M% %I% %E% %U%
13
 
14
package provide pkg2 1.0
15
 
16
namespace eval pkg2 {
17
    namespace export p2-1
18
}
19
 
20
proc pkg2::p2-1 { num } {
21
    return [expr $num * 2]
22
}

powered by: WebSVN 2.1.0

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