03.01.2013 Views

Customization Guide (.pdf) - Documentation & Online Help - Autodesk

Customization Guide (.pdf) - Documentation & Online Help - Autodesk

Customization Guide (.pdf) - Documentation & Online Help - Autodesk

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

eq<br />

Enter the entire AM/PM phrase as shown in the preceding table; if AM is used<br />

alone, the A will be read literally and the M will return the current month.<br />

If any AM/PM phrases appear in the picture, the H and HH phrases edit the time<br />

according to the 12-hour civil clock (12:00-12:59 1:00-11:59) instead of the<br />

24-hour clock (00:00-23:59).<br />

The following example uses the date and time from the preceding table. Notice<br />

that the comma must be enclosed in quotation marks because it is read as an<br />

argument separator.<br />

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

It returns the following:<br />

Sat, 5 Sep 1998 - 4:53am<br />

If time is 0, the time and date at the moment that the outermost macro was<br />

executed is used. This avoids lengthy and time-consuming multiple calls on<br />

$(getvar,date) and guarantees that strings composed with multiple $(edtime)<br />

macros all use the same time.<br />

Quick Reference<br />

System Variables<br />

MENUECHO<br />

Sets menu echo and prompt control bits.<br />

If the strings val1 and val2 are identical, the string returns 1; otherwise, it<br />

returns 0.<br />

$(eq, val1, val2)<br />

Quick Reference<br />

System Variables<br />

MENUECHO<br />

Sets menu echo and prompt control bits.<br />

eq | 337

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!