Changeset 402 for trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/STRUCTURE/where_tag.html
- Timestamp:
- 07/23/09 11:18:49 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/idldoc_assistant_output/ToBeReviewed/STRUCTURE/where_tag.html
r290 r402 62 62 63 63 64 Like WHERE but works on structure tag names 64 Like <a href="/Applications/itt/idl64/help/online_help/WHERE.html">WHERE</a> but works on structure tag names 65 65 66 Obtain subscripts of elements in structure array for which 66 67 a particular Tag has values in a range or matching specified values. 67 Like the WHERE function but for use with structures 68 69 Like the <a href="/Applications/itt/idl64/help/online_help/WHERE.html">WHERE</a> function but for use with structures 68 70 69 71 … … 157 159 158 160 159 Otherwise give the Tag Number ,161 Otherwise give the Tag Number 160 162 161 163 … … 206 208 207 209 208 [min,max] range to search for in Struct210 [min,max] range to search for in STRUCT 209 211 210 212 … … 222 224 223 225 224 One or array of numbers to match for in S truct,226 One or array of numbers to match for in STRUCT 225 227 226 228 … … 228 230 229 231 <h3>Examples</h3><pre> 230 Suppose STR is a structure with tags CAT_NO:indgen(10), and 231 NAME:strarr(10). Find the indices where STR.CAT_NO is 232 between 3 and 5. 233 234 IDL> print, WHERE_TAG( str, TAG_NAME = 'CAT_NO', VALUE = [3,4,5] ) ;or 235 IDL> print, WHERE_TAG( str, TAG_NUM = 0, RANGE = [3,5]) 232 233 Suppose STR is a structure with tags CAT_NO:indgen(10), and 234 NAME:strarr(10). Find the indices where STR.CAT_NO is between 3 and 5. 235 236 IDL> print, WHERE_TAG( str, TAG_NAME = 'CAT_NO', VALUE = [3,4,5] ) 237 or 238 IDL> print, WHERE_TAG( str, TAG_NUM = 0, RANGE = [3,5]) 236 239 237 240 </pre><h3>Version history</h3> 238 241 239 242 <h4>Version</h4> 240 $Id: where_tag.pro 262 2007-08-21 14:19:32Z pinsard $243 $Id: where_tag.pro 375 2008-08-08 15:55:40Z pinsard $ 241 244 242 245 <h4>History</h4> … … 252 255 <h4>Restrictions</h4> 253 256 User *must* specify (1) TAG_NAME or TAG_NUMBER to search, and (2) 254 the VALUES or RANGE to search on ;257 the VALUES or RANGE to search on. 255 258 256 259
Note: See TracChangeset
for help on using the changeset viewer.