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

Last change on this file since 232 was 232, checked in by pinsard, 17 years ago

improvements/corrections of some *.pro headers

  • Property svn:keywords set to Id
File size: 650 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;
26function completetype, typein
27;
28  compile_opt idl2, strictarrsubs
29;
30   type=typein
31   case type of
32      'x':type=type+'yzt'
33      'y':type=type+'xzt'
34      'z':type=type+'zyt'
35      't':type=type+'xyz'
36      'xy':type=type+'zt'
37      'xz':type=type+'yt'
38      'yz':type=type+'xt'
39      'xt':type=type+'yz'
40      'yt':type=type+'xz'
41      'zt':type=type+'xy'
42      'xyz':type=type+'t'
43      'xyt':type=type+'z'
44      'yzt':type=type+'x'
45      'xyzt':
46   endcase
47   return, type
48
49end
50;
Note: See TracBrowser for help on using the repository browser.