- Timestamp:
- 07/23/09 11:18:49 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/idldoc_html_output/ToBeReviewed/STRUCTURE/where_tag.html
r290 r402 88 88 89 89 <div id="file_comments"> 90 Like WHERE but works on structure tag names 90 Like <a href="/Applications/itt/idl64/help/online_help/WHERE.html">WHERE</a> but works on structure tag names 91 91 92 Obtain subscripts of elements in structure array for which 92 93 a particular Tag has values in a range or matching specified values. 93 Like the WHERE function but for use with structures 94 95 Like the <a href="/Applications/itt/idl64/help/online_help/WHERE.html">WHERE</a> function but for use with structures 94 96 </div> 95 97 … … 188 190 189 191 <div class="comments"> 190 Otherwise give the Tag Number ,192 Otherwise give the Tag Number 191 193 </div> 192 194 … … 234 236 235 237 <div class="comments"> 236 [min,max] range to search for in Struct238 [min,max] range to search for in STRUCT 237 239 </div> 238 240 … … 249 251 250 252 <div class="comments"> 251 One or array of numbers to match for in S truct,253 One or array of numbers to match for in STRUCT 252 254 </div> 253 255 … … 255 257 256 258 <h3>Examples</h3><div class="preformat"> 257 Suppose STR is a structure with tags CAT_NO:indgen(10), and 258 NAME:strarr(10). Find the indices where STR.CAT_NO is 259 between 3 and 5. 260 261 IDL> print, WHERE_TAG( str, TAG_NAME = 'CAT_NO', VALUE = [3,4,5] ) ;or 262 IDL> print, WHERE_TAG( str, TAG_NUM = 0, RANGE = [3,5]) 259 260 Suppose STR is a structure with tags CAT_NO:indgen(10), and 261 NAME:strarr(10). Find the indices where STR.CAT_NO is between 3 and 5. 262 263 IDL> print, WHERE_TAG( str, TAG_NAME = 'CAT_NO', VALUE = [3,4,5] ) 264 or 265 IDL> print, WHERE_TAG( str, TAG_NUM = 0, RANGE = [3,5]) 263 266 </div> 264 267 <h3>Version history</h3> 265 268 266 269 <h4>Version</h4><div class="preformat"> 267 $Id: where_tag.pro 262 2007-08-21 14:19:32Z pinsard $270 $Id: where_tag.pro 375 2008-08-08 15:55:40Z pinsard $ 268 271 </div> 269 272 <h4>History</h4><div class="preformat"> … … 279 282 <h4>Restrictions</h4><div class="preformat"> 280 283 User *must* specify (1) TAG_NAME or TAG_NUMBER to search, and (2) 281 the VALUES or RANGE to search on ;284 the VALUES or RANGE to search on. 282 285 </div> 283 286
Note: See TracChangeset
for help on using the changeset viewer.