Last change
on this file since 136 was
136,
checked in by pinsard, 18 years ago
|
some improvements and corrections in some .pro file according to
aspell and idldoc log file
|
-
Property svn:keywords set to
Id
|
File size:
1.0 KB
|
Line | |
---|
1 | ;------------------------------------------------------------ |
---|
2 | ;------------------------------------------------------------ |
---|
3 | ;------------------------------------------------------------ |
---|
4 | ;+ |
---|
5 | ; |
---|
6 | ; @file_comments |
---|
7 | ; gives the name of a month |
---|
8 | ; |
---|
9 | ; @categories calendar |
---|
10 | ; |
---|
11 | ; @param mm1 {in}{required} |
---|
12 | ; the month number (from 1 to 12) |
---|
13 | ; |
---|
14 | ; @keyword _EXTRA |
---|
15 | ; used to pass your keywords to the created procedure. |
---|
16 | ; |
---|
17 | ; @file_comments |
---|
18 | ; keyword parameters of string function to specify the format of the |
---|
19 | ; month (the C format) can be used. |
---|
20 | ; |
---|
21 | ; @returns |
---|
22 | ; the month's name |
---|
23 | ; |
---|
24 | ; @examples |
---|
25 | ; IDL> name=monthname(2) |
---|
26 | ; |
---|
27 | ; @history Sebastien Masson (smasson\@lodyc.jussieu.fr) |
---|
28 | ; 1 October 2001 |
---|
29 | ; |
---|
30 | ; @version $Id$ |
---|
31 | ; |
---|
32 | ;- |
---|
33 | ;------------------------------------------------------------ |
---|
34 | ;------------------------------------------------------------ |
---|
35 | ;------------------------------------------------------------ |
---|
36 | FUNCTION monthname, mm1, _EXTRA = ex |
---|
37 | ; |
---|
38 | compile_opt idl2, strictarrsubs |
---|
39 | ; |
---|
40 | return, string(format='(C(CMoA0))',31*(mm1-1), _EXTRA = ex) |
---|
41 | end |
---|
Note: See
TracBrowser
for help on using the repository browser.