|
Revision 3550, 1.0 KB
(checked in by sukyoungryu, 9 months ago)
|
|
[copyright] Fixed the copyright notices.
|
| Line | |
|---|
| 1 | (** COPYRIGHT **) |
|---|
| 2 | (******************************************************************************* |
|---|
| 3 | Copyright 2009 Sun Microsystems, Inc., |
|---|
| 4 | 4150 Network Circle, Santa Clara, California 95054, U.S.A. |
|---|
| 5 | All rights reserved. |
|---|
| 6 | |
|---|
| 7 | U.S. Government Rights - Commercial software. |
|---|
| 8 | Government users are subject to the Sun Microsystems, Inc. standard |
|---|
| 9 | license agreement and applicable provisions of the FAR and its supplements. |
|---|
| 10 | |
|---|
| 11 | Use is subject to license terms. |
|---|
| 12 | |
|---|
| 13 | This distribution may include materials developed by third parties. |
|---|
| 14 | |
|---|
| 15 | Sun, Sun Microsystems, the Sun logo and Java are trademarks or registered |
|---|
| 16 | trademarks of Sun Microsystems, Inc. in the U.S. and other countries. |
|---|
| 17 | ******************************************************************************) |
|---|
| 18 | (** END COPYRIGHT **) |
|---|
| 19 | |
|---|
| 20 | component Expr.Array.Pasting |
|---|
| 21 | |
|---|
| 22 | export Executable |
|---|
| 23 | |
|---|
| 24 | f() = do |
|---|
| 25 | (** EXAMPLE **) |
|---|
| 26 | A: ZZ32[2,3] = [3 4 5; 6 7 8] |
|---|
| 27 | B: ZZ32[2,3,2] = [A ;; 3 4 5; 6 7 8 ] |
|---|
| 28 | (* |
|---|
| 29 | B: ZZ32[2,3,2] = [A ;; A] |
|---|
| 30 | *) |
|---|
| 31 | (** END EXAMPLE **) |
|---|
| 32 | B[1,2,0] |
|---|
| 33 | end |
|---|
| 34 | |
|---|
| 35 | run() = println f() |
|---|
| 36 | |
|---|
| 37 | end |
|---|