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
upper
Returns the string converted to uppercase according to the rules of the current
locale.
$(upper, string)
xor
Returns the bitwise logical XOR of the integers val1 through val9.
$(xor, val1 [, val2,…, val9])
DIESEL Error Messages
Generally, if you make a mistake in a DIESEL expression, what went wrong
will be obvious. Depending on the nature of the error, DIESEL embeds an
error indication in the output stream.
DIESEL error messages
DescriptionError message
Syntax error (usually a missing right parenthesis or a runaway
string)
$?
Incorrect arguments to func$(func,??)
Unknown function func$(func)??
Output string too long—evaluation truncated$(++)
74 | Chapter 5 DIESEL