2013
Table Of Contents
- Contents
- Basic Customization
- Custom Linetypes
- Custom Hatch Patterns
- User Interface Customization
- DIESEL
- Command Scripts
- Introduction to Programming Interfaces
- Shapes and Shape Fonts
- Overview of Shape Files
- Create Shape Definition Files
- Shape Descriptions
- Vector Length and Direction Code
- Special Codes
- Use Special Codes
- Codes 0, 1, and 2: End of Shape and Draw Mode Control
- Codes 3 and 4: Size Control
- Codes 5 and 6: Location Save/Restore
- Code 7: Subshape
- Codes 8 and 9: X-Y Displacements
- Code 00A: Octant Arc
- Code 00B: Fractional Arc
- Codes 00C and 00D: Bulge-Specified Arcs
- Code 00E: Flag Vertical Text Command
- Text Font Descriptions
- Sample Files
- Big Font Descriptions
- Unicode Font Descriptions
- Superscripts and Subscripts in SHX Files
- Index
phrases replaced by specific representations of the date and time. Characters
not interpretable as format phrases are copied literally into the result of
$(edtime). Format phrases are defined as shown in the following table. Assume
that the date and time are Saturday, 5 September 1998 4:53:17.506.
edtime format phrases
OutputFormatOutputFormat
4H5D
04HH05DD
53MMSatDDD
17SSSaturdayDDDD
506MSEC9M
AMAM/PM09MO
amam/pmSepMON
AA/PSeptemberMONTH
aa/p98YY
1998YYYY
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)
70 | Chapter 5 DIESEL