source: trunk/SRC/Documentation/idldoc_assistant_output/Textoidl/nexttok.html @ 163

Last change on this file since 163 was 163, checked in by navarro, 18 years ago

header improvements : type of parameters and keywords, default values, spell checking + idldoc assistant (IDL online_help)

File size: 4.6 KB
Line 
1
2
3<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4  <head>
5    <title>nexttok.pro (SAXO Documentation Assistant)</title>
6  </head>
7
8  <body text="#000000" bgcolor="#FFFFFF">
9
10   
11<!-- Navbar template takes a structure with the following fields:
12       overview_href :
13       overview_selected :
14       dir_overview_href :
15       dir_overview_selected :
16       categories_href :
17       categories_selected :
18       index_href :
19       index_selected :
20       search_href :
21       search_selected :
22       file_selected :
23       source_href :
24       source_selected :
25       help_href :
26       help_selected :
27       etc_selected :
28
29       prev_file_href :
30       next_file_href :
31
32       view_single_page_href :
33       view_frames_href :
34
35       summary_fields_href :
36       summary_routine_href :
37       details_routine_href :
38
39       title :
40       subtitle :
41       user :
42-->
43
44
45<table border="0" cellpadding="0" cellspacing="0" width="98%" bgcolor="#F0F0FF" valign="bottom">
46  <tr>
47    <td width="10%">
48<a href="matchdelim.html"><img src="./../prev.gif" border="0" alt="Previous"></a></td>
49    <td width="80%" align="center" valign="center">
50<font size=-1><i>SAXO Documentation Assistant</i>: <a href="./../home.html">Overview</a></font></td>
51    <td width="10%" align="right">
52<a href="showtex.html"><img src="./../next.gif" border="0" alt="Next"></a></td>
53  </tr>
54</table>
55
56
57    <h1><font size="-2">Textoidl/</font></h1>
58    <h2>nexttok.pro</h2>
59
60    <dl>
61    </dl>
62
63   
64
65   
66
67     
68      <a name="#_nexttok"></a>
69
70      <h2>nexttok  </h2>
71
72      <p><font face="Courier"><i>result = </i>nexttok(<i><a href="#_nexttok_keyword_strn">strn</a>, <a href="#_nexttok_keyword_tokens">tokens</a></i>, <a href="#_nexttok_keyword_POSITION">POSITION</a>=<i>POSITION</i>, <a href="#_nexttok_keyword_HELP">HELP</a>=<i>HELP</i>)</font></p>
73
74   
75 NAME:
76       NEXTTOK
77 PURPOSE:
78       Find the next occurance of any of a set of characters in a
79       string and return the character which occurs next.
80 CATEGORY:
81       text/strings
82 CALLING SEQUENCE:
83       tok = nexttok( strn, tokens )
84 INPUTS:
85       strn   -- string to be searched for sub/superscripts    in
86       tokens -- string containing characters to be found.     in
87 KEYWORD PARAMETERS:
88       POSITION -- Set to a named variable to get position     out
89                   of next token, or -1 if none found.
90       /HELP    -- Print useful message and exit.
91 OUTPUTS:
92       tok    -- Contains the character among tokens which     out
93                 occurs next in strn, or null '' if none found.
94 COMMON BLOCKS:
95 SIDE EFFECTS:
96 NOTES:
97 EXAMPLE:
98       nexttok( 'x^2 + N_j^3', '^_', position=pos ) returns '^' and sets
99       pos to 1.
100 MODIFICATION HISTORY:
101       $Id: nexttok.pro 134 2006-07-07 10:19:08Z navarro $
102       $Log: nexttok.pro,v $
103       Revision 1.4  2004/06/15 17:25:54  mcraig
104       Fixed bug in regular expression, changed array notation to square brackets
105
106       Revision 1.3  1996/06/14 20:00:27  mcraig
107       Updated Copyright info.
108
109       Revision 1.2  1996/05/09 00:22:17  mcraig
110       Generalized so that the next occurence of any of a set of characters will
111       be returned.
112
113       Revision 1.1  1996/01/31 18:41:06  mcraig
114       Initial revision
115
116 RELEASE:
117       $Name: Rel_2_1_2 $
118
119 COPYRIGHT:
120  Copyright (C) 1996 The Regents of the University of California, All
121  Rights Reserved.  Written by Matthew W. Craig.
122  See the file COPYRIGHT for restrictions on distrubting this code.
123  This code comes with absolutely NO warranty; see DISCLAIMER for details.
124
125   
126
127   
128    <h3>Parameters</h3>
129   
130
131    <a name="#_nexttok_keyword_strn"></a>
132    <h4>strn&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
133     
134     
135     
136     
137     
138     
139     
140     
141    </h4>
142
143   
144   
145
146    <a name="#_nexttok_keyword_tokens"></a>
147    <h4>tokens&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
148     
149     
150     
151     
152     
153     
154     
155     
156    </h4>
157
158   
159   
160   
161
162   
163    <h3>Keywords</h3>
164
165   
166    <a name="#_nexttok_keyword_POSITION"></a>
167    <h4>POSITION&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
168     
169     
170     
171     
172     
173     
174     
175     
176    </h4>
177
178   
179   
180    <a name="#_nexttok_keyword_HELP"></a>
181    <h4>HELP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
182     
183     
184     
185     
186     
187     
188     
189     
190    </h4>
191
192   
193   
194   
195
196   
197   
198   
199   
200   
201   
202
203   
204   
205   
206   
207   
208
209   
210   
211   
212   
213   
214   
215   
216
217    <font size="-3"><p>&nbsp;</p></font>
218    <hr size="1" color="#CCCCCC"/>
219     
220
221   
222
223    <p><font color="gray" size="-3">&nbsp;&nbsp;Produced by IDLdoc 2.0 on Tue Aug 29 14:49:46 2006.</font></p>
224
225  </body>
226</html>
Note: See TracBrowser for help on using the repository browser.