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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [tcl/] [tests/] [pkg/] [pkg1.tcl] - Blame information for rev 1774

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

Line No. Rev Author Line
1 578 markom
# pkg1.tcl --
2
#
3
#  Test package for pkg_mkIndex. This package requires pkg3, but it does
4
#  not use any of pkg3's procs in the code that is executed by the file
5
#  (i.e. references to pkg3's procs are in the proc bodies only).
6
#
7
# Copyright (c) 1998 by Scriptics Corporation.
8
# All rights reserved.
9
# 
10
# RCS: @(#) $Id: pkg1.tcl,v 1.1.1.1 2002-01-16 10:25:36 markom Exp $
11
 
12
package require pkg3 1.0
13
 
14
package provide pkg1 1.0
15
 
16
namespace eval pkg1 {
17
    namespace export p1-1 p1-2
18
}
19
 
20
proc pkg1::p1-1 { num } {
21
    return [pkg3::p3-1 $num]
22
}
23
 
24
proc pkg1::p1-2 { num } {
25
    return [pkg3::p3-2 $num]
26
}

powered by: WebSVN 2.1.0

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