source: trunk/SRC/Calendar/monthname.pro @ 231

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

improvements/corrections of some *.pro headers

  • Property svn:keywords set to Id
File size: 614 bytes
Line 
1;+
2;
3; @file_comments
4; gives the name of a month
5;
6; @categories
7; Calendar,String
8;
9; @param month {in}{required} {type=scalar or array}
10; the month number (from 1 to 12).
11;
12; @keyword _EXTRA
13; Used to pass keywords
14;
15; @returns
16; the month names, a string with the same number of elements than month.
17;
18; @examples
19; IDL> name=monthname(2)
20;
21; @history
22; Sebastien Masson (smasson\@lodyc.jussieu.fr)
23;                      1 October 2001
24;
25; @version
26; $Id$
27;
28;-
29;
30FUNCTION monthname, month, _EXTRA = ex
31;
32  compile_opt idl2, strictarrsubs
33;
34   return, string(format='(C(CMoA0))',31*(month-1), _EXTRA = ex)
35end
Note: See TracBrowser for help on using the repository browser.