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

Last change on this file since 163 was 163, checked in by navarro, 18 years ago

header improvements : type of parameters and keywords, default values, spell checking + idldoc assistant (IDL online_help)

  • Property svn:keywords set to Id
File size: 662 bytes
Line 
1;+
2; @file_comments
3;
4;
5; @categories
6;
7;
8; @param TYPEIN
9;
10;
11; @returns
12;
13;
14; @uses
15;
16;
17; @restrictions
18;
19;
20; @examples
21;
22;
23; @history
24;
25;
26; @version
27; $Id$
28;
29; @todo seb
30;
31;-
32function completetype, typein
33;
34  compile_opt idl2, strictarrsubs
35;
36   type=typein
37   case type of
38      'x':type=type+'yzt'
39      'y':type=type+'xzt'
40      'z':type=type+'zyt'
41      't':type=type+'xyz'
42      'xy':type=type+'zt'
43      'xz':type=type+'yt'
44      'yz':type=type+'xt'
45      'xt':type=type+'yz'
46      'yt':type=type+'xz'
47      'zt':type=type+'xy'
48      'xyz':type=type+'t'
49      'xyt':type=type+'z'
50      'yzt':type=type+'x'
51      'xyzt':
52   endcase
53   return, type
54
55end
56;
Note: See TracBrowser for help on using the repository browser.