Untitled

(Steven Felgate) #1
Enter the entire AM/PM phrase as shown in the preceding table; if AM is used
alone, the A will be read literally and the M will return the current month.

If any AM/PM phrases appear in the picture, the H and HH phrases edit the time
according to the 12-hour civil clock (12:00-12:59 1:00-11:59) instead of the
24-hour clock (00:00-23:59).

The following example uses the date and time from the preceding table. Notice
that the comma must be enclosed in quotation marks because it is read as an
argument separator.

$(edtime,$(getvar,date),DDD","DD MON YYYY- H:MMam/pm)

It returns the following:

Sat, 5 Sep 1998 - 4:53am

If time is 0, the time and date at the moment that the outermost macro was
executed is used. This avoids lengthy and time-consuming multiple calls on
$(getvar,date) and guarantees that strings composed with multiple $(edtime)
macros all use the same time.

Quick Reference


System Variables

MENUECHO

Sets menu echo and prompt control bits.

eq


If the strings val1 and val2 are identical, the string returns 1; otherwise, it
returns 0.

$(eq,val1, val2)

Quick Reference


System Variables

MENUECHO

Sets menu echo and prompt control bits.

eq | 337

Free download pdf