Last change
on this file since 9 was
9,
checked in by pinsard, 18 years ago
|
upgrade of CALENDRIER/Calendar according to cerbere.lodyc.jussieu.fr:/usr/home/smasson/SAXO_RD/ : files
|
-
Property svn:executable set to
*
|
File size:
989 bytes
|
Line | |
---|
1 | ;------------------------------------------------------------ |
---|
2 | ;------------------------------------------------------------ |
---|
3 | ;------------------------------------------------------------ |
---|
4 | ;+ |
---|
5 | ; NAME:monthname |
---|
6 | ; |
---|
7 | ; PURPOSE:gives the name of a month |
---|
8 | ; |
---|
9 | ; CATEGORY: |
---|
10 | ; |
---|
11 | ; CALLING SEQUENCE:name=monthname(number) |
---|
12 | ; |
---|
13 | ; INPUTS: number, the month number (from 1 to 12) |
---|
14 | ; |
---|
15 | ; KEYWORD PARAMETERS:those of string fonction to specify the |
---|
16 | ; format of the month (the C format) |
---|
17 | ; |
---|
18 | ; OUTPUTS: an integer, the month's name |
---|
19 | ; |
---|
20 | ; COMMON BLOCKS:None |
---|
21 | ; |
---|
22 | ; SIDE EFFECTS: |
---|
23 | ; |
---|
24 | ; RESTRICTIONS: |
---|
25 | ; |
---|
26 | ; EXAMPLE: |
---|
27 | ; |
---|
28 | ; MODIFICATION HISTORY:Sebastien Masson (smasson@lodyc.jussieu.fr) |
---|
29 | ; 1 October 2001 |
---|
30 | ;- |
---|
31 | ;------------------------------------------------------------ |
---|
32 | ;------------------------------------------------------------ |
---|
33 | ;------------------------------------------------------------ |
---|
34 | FUNCTION monthname, mm1, _extra = ex |
---|
35 | return, string(format='(C(CMoA0))',31*(mm1-1), _extra = ex) |
---|
36 | end |
---|
Note: See
TracBrowser
for help on using the repository browser.