|AAh||TM$MNAM||get month name|
|Input||B register - Month 0 - 11 (0 is Jan).|
|Output||X register - Points to the month name string.|
Returns X as the address of the 3 letter month name for the month contained in the B register. Month is in current language selected.
If the B register is not in the range 0 - 11, garbage will be returned.
Note that the month name will be capitalized.
This call is not available on CM/XP machines.
Displays the 3 letter name for December:
LDAB #11 ;December OS TM$MNAM LDAB #3 ;name is always 3 bytes long OS DP$PRNT ;print the month name on the screen RTS
|Errors||- none -|