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