- Timestamp:
- 06/07/06 19:12:14 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/idldoc_html_output/Utilities/createfunc.html
r89 r93 108 108 109 109 <div class="comments"> 110 NAME:createfunc 111 112 PURPOSE: write an idl function, compile it and execute it. 113 usefull to avoid the use of execute 114 115 CATEGORY: 116 117 CALLING SEQUENCE:res = createfunc(command) 118 119 INPUTS: 120 command: a scalar string defining the result to be byven back by the 121 function. (see examples) 122 123 KEYWORD PARAMETERS: 124 125 FILENAMEIN: name of the funccedure to be created. 126 'for_createfunc.pro' by default 127 128 KWDLIST: a vector string. to specify a list of keywords that 110 write an idl function, compile it and execute it. 111 usefull to avoid the use of execute 112 </div> 113 114 115 116 117 <h3>Parameters</h3> 118 119 120 <h4 id="_createfunc_param_command">command 121 <span class="attr">in</span> 122 123 124 <span class="attr">required</span> 125 126 127 128 129 </h4> 130 131 <div class="comments"> a scalar string defining the result to be byven back by the function. (see examples) 132 </div> 133 134 135 136 137 138 139 <h3>Keywords</h3> 140 141 <h4 id="_createfunc_keyword_FILENAMEIN">FILENAMEIN 142 <span class="attr">in</span> 143 144 145 146 147 148 149 150 </h4> 151 152 <div class="comments"> name of the funccedure to be created. 153 'for_createfunc.pro' by default</div> 154 155 <h4 id="_createfunc_keyword_KWDLIST">KWDLIST 156 <span class="attr">in</span> 157 158 159 160 161 162 163 164 </h4> 165 166 <div class="comments"> a vector string. to specify a list of keywords that 129 167 must be included in the function definition. Warning: the string 130 168 must start with a ',' for example: KWDLIST = ', TOTO = toto' 131 132 _EXTRA: used to pass your keywords to the created function. 133 134 OUTPUTS: none 135 136 COMMON BLOCKS: none 169 </div> 170 171 <h4 id="_createfunc_keyword__extra">_extra 172 173 174 175 176 177 178 179 180 </h4> 181 182 <div class="comments"> used to pass your keywords to the created function. 137 183 138 184 SIDE EFFECTS: ends the function name with '.pro' if needed 139 140 RESTRICTIONS:arguments can be given only through keywords 141 142 EXAMPLE: 185 </div> 186 187 188 189 <h3>Examples</h3><div class="value"> 143 190 IDL> print, createfunc('3*2', filename='test') 144 191 IDL> print, createfunc('3*two', filename = 'test' $ 145 192 , kwdlist ='two = two', two = 2) 146 193 </div> 147 148 149 150 151 <h3>Parameters</h3> 152 153 154 <h4 id="_createfunc_param_command">command 155 156 157 158 159 160 161 162 163 </h4> 164 165 <div class="comments"></div> 166 167 168 169 170 171 172 <h3>Keywords</h3> 173 174 <h4 id="_createfunc_keyword_FILENAMEIN">FILENAMEIN 175 176 177 178 179 180 181 182 183 </h4> 184 185 <div class="comments"></div> 186 187 <h4 id="_createfunc_keyword_KWDLIST">KWDLIST 188 189 190 191 192 193 194 195 196 </h4> 197 198 <div class="comments"></div> 199 200 <h4 id="_createfunc_keyword__extra">_extra 201 202 203 204 205 206 207 208 209 </h4> 210 211 <div class="comments"></div> 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 194 <h3>Version history</h3> 195 196 197 <h4>History</h4><div class="value"> Sebastien Masson (smasson@lodyc.jussieu.fr) 198 May 2005</div> 199 200 201 <h3>Known issues</h3> 202 203 204 205 <h4>Restrictions</h4><div class="value"> arguments can be given only through keywords 206 </div> 227 207 228 208
Note: See TracChangeset
for help on using the changeset viewer.