Last change
on this file since 374 was
325,
checked in by pinsard, 17 years ago
|
modification of some headers (+some corrections) to prepare usage of the new idldoc
|
-
Property svn:keywords set to
Id
|
File size:
648 bytes
|
Line | |
---|
1 | ;+ |
---|
2 | ; |
---|
3 | ; @file_comments |
---|
4 | ; |
---|
5 | ; @categories |
---|
6 | ; |
---|
7 | ; @param TYPEIN |
---|
8 | ; |
---|
9 | ; @returns |
---|
10 | ; |
---|
11 | ; @uses |
---|
12 | ; |
---|
13 | ; @restrictions |
---|
14 | ; |
---|
15 | ; @examples |
---|
16 | ; |
---|
17 | ; @history |
---|
18 | ; |
---|
19 | ; @version |
---|
20 | ; $Id$ |
---|
21 | ; |
---|
22 | ; @todo seb |
---|
23 | ; |
---|
24 | ;- |
---|
25 | function completetype, typein |
---|
26 | ; |
---|
27 | compile_opt idl2, strictarrsubs |
---|
28 | ; |
---|
29 | type=typein |
---|
30 | case type of |
---|
31 | 'x':type=type+'yzt' |
---|
32 | 'y':type=type+'xzt' |
---|
33 | 'z':type=type+'zyt' |
---|
34 | 't':type=type+'xyz' |
---|
35 | 'xy':type=type+'zt' |
---|
36 | 'xz':type=type+'yt' |
---|
37 | 'yz':type=type+'xt' |
---|
38 | 'xt':type=type+'yz' |
---|
39 | 'yt':type=type+'xz' |
---|
40 | 'zt':type=type+'xy' |
---|
41 | 'xyz':type=type+'t' |
---|
42 | 'xyt':type=type+'z' |
---|
43 | 'yzt':type=type+'x' |
---|
44 | 'xyzt': |
---|
45 | endcase |
---|
46 | return, type |
---|
47 | |
---|
48 | end |
---|
49 | ; |
---|
Note: See
TracBrowser
for help on using the repository browser.