Last change
on this file since 93 was
93,
checked in by pinsard, 18 years ago
|
start to modify headers of Calendar and Utilities *.pro files for bet
ter idldoc output
|
-
Property svn:executable set to
*
|
File size:
891 bytes
|
Line | |
---|
1 | ;------------------------------------------------------------ |
---|
2 | ;------------------------------------------------------------ |
---|
3 | ;------------------------------------------------------------ |
---|
4 | ;+ |
---|
5 | ; |
---|
6 | ; gives the name of a month |
---|
7 | ; |
---|
8 | ; @categories calendar |
---|
9 | ; |
---|
10 | ; @param number {in}{required} the month number (from 1 to 12) |
---|
11 | ; |
---|
12 | ; @file_comments keyword parameters of string function to specify the format of the month (the C format) can be used. |
---|
13 | ; |
---|
14 | ; @returns the month's name |
---|
15 | ; |
---|
16 | ; @examples |
---|
17 | ; IDL> name=monthname(2) |
---|
18 | ; |
---|
19 | ; @history Sebastien Masson (smasson\@lodyc.jussieu.fr) |
---|
20 | ; 1 October 2001 |
---|
21 | ;- |
---|
22 | ;------------------------------------------------------------ |
---|
23 | ;------------------------------------------------------------ |
---|
24 | ;------------------------------------------------------------ |
---|
25 | FUNCTION monthname, mm1, _extra = ex |
---|
26 | return, string(format='(C(CMoA0))',31*(mm1-1), _extra = ex) |
---|
27 | end |
---|
Note: See
TracBrowser
for help on using the repository browser.