- Timestamp:
- 06/09/06 17:18:59 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/idldoc_html_output/ToBeReviewed/STRING/lenstr.html
r89 r97 107 107 <span class="result">result = </span>lenstr(<span class="result"><a href="#_lenstr_param_str">str</a></span>)</p> 108 108 109 <div class="comments"></div> 109 <div class="comments"> 110 ROUTINE: lenstr 111 USEAGE: result=lenstr(str) 112 113 input: 114 str a single string or string array. 115 116 output: 117 result length of the string(s) in normalized units 118 the number of elements of RESULT matches the number of 119 elements of STRING. 120 121 procedure: 122 This function returns the physical length of the 123 string on the output device, not the number of 124 characters. This is done by first switching to 'X' 125 and writing the string(s) with XYOUTS in graphics 126 mode 5, which disables display to the screen but 127 does not interfere with operation of XYOUTS. The 128 WIDTH keyword parameter of XYOUTS is used to 129 retrieve the physical length of the string(s). 130 131 author: Paul Ricchiazzi 7apr93 132 Institute for Computational Earth System Science 133 University of California, Santa Barbara</div> 110 134 111 135
Note: See TracChangeset
for help on using the changeset viewer.