Sunday, August 18, 2019

Catalog of DIESEL String Functions :: essays research papers

Catalog of DIESEL String Functions Status retrieval, computation, and display are performed by DIESEL functions. The available functions are described in the table. Note: All functions have a limit of 10 parameters, including the function name itself. If this limit is exceeded, you get a DIESEL error message. + (addition) Returns the sum of the numbers val1, val2, ..., val9. $(+, val1 [, val2, ..., val9] ) If the current thickness is set to 5, the following DIESEL string returns 15. $(+, $(getvar,thickness),10) - (subtraction) Returns the result of subtracting the numbers val2 through val9 from val1. $(-, val1 [, val2 , ..., val9] ) *(multiplication) Returns the result of multiplying the numbers val1, val2, ..., val9. $(*, val1 [, val2, ..., val9] ) / (division) Returns the result of dividing the number val1 by val2, ..., val9. $(/, val1 [, val2, ..., val9] ) = (equal to) If the numbers val1 and val2 are equal, the string returns 1; otherwise, it returns 0. $(=, val1, val2) < (less than) If the number val1 is less than val2, the string returns 1; otherwise, it returns 0. $(< , val1, val2) The following expression gets the current value of the HPANG system variable; if the value is less than the value stored in the USERR1 system variable, it returns 1. If the value 10.0 is stored in USERR1 and the current setting of HPANG is 15.5, the following string returns 0. $( (greater than) If the number val1 is greater than val2, the string returns 1; otherwise, it returns 0. $(>, val1, val2) != (not equal to) If the numbers val1 and val2 are not equal, the string returns 1; otherwise, it returns 0. $(!=, val1, val2) =, val1, val2) and Returns the bitwise logical AND of the integers val1 through val9. $(and, val1 [, val2,..., val9] ) angtos Returns the angular value in the format and precision specified. $(angtos, value [, mode, precision] ) Edits the given value as an angle in the format specified by the mode and precision. (For mode values, see Example: Angular Units Values.) If mode and precision are omitted, it uses the current values chosen by UNITS. edtime Returns a formatted date and time based on a given picture. $(edtime, time, picture) Edits the AutoCAD LT Julian date given by time (obtained, for example, from $(getvar,date) according to the given picture).

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.