U_MONTHS

Assign alpha characters to represent months

WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX
VSupported on OpenVMS
xcall U_MONTHS(months)

months

The first element of a 12-element array containing abbreviations for months. (a)

U_MONTHS enables you to specify alpha character strings for months. Note that U_MONTHS reads up to five characters in each string (the first five characters), and strings must consist of capital letters. These strings default to the first three characters of each month in English. So if you do not use U_MONTHS, the string for January is jan, the string for February is feb, and so on.

U_MONTHS is particularly useful for assigning month abbreviations for foreign languages. For example, the Spanish word for “January” is “Enero.” Thus, U_MONTHS could enable users to enter ene (rather than jan) for the first month of the year. You could specify the entire string “enero” in this subroutine as well.

In this example, mon is the array that consists of month strings.

xcall u_months(mon)