source: trunk/SRC/ToBeReviewed/HOPE/completetype.pro @ 114

Last change on this file since 114 was 114, checked in by smasson, 18 years ago

new compilation options (compile_opt idl2, strictarrsubs) in each routine

  • Property svn:executable set to *
File size: 486 bytes
Line 
1
2function completetype, typein
3;
4  compile_opt idl2, strictarrsubs
5;
6   type=typein
7   case type of
8      'x':type=type+'yzt'
9      'y':type=type+'xzt'
10      'z':type=type+'zyt'
11      't':type=type+'xyz'
12      'xy':type=type+'zt'
13      'xz':type=type+'yt'
14      'yz':type=type+'xt'
15      'xt':type=type+'yz'
16      'yt':type=type+'xz'
17      'zt':type=type+'xy'
18      'xyz':type=type+'t'
19      'xyt':type=type+'z'
20      'yzt':type=type+'x'
21      'xyzt':
22   endcase
23   return, type
24
25end
26;
Note: See TracBrowser for help on using the repository browser.