- Timestamp:
- 07/12/06 11:52:09 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/idldoc_html_output/Utilities/createpro.html
r121 r138 328 328 table.variables td.image { width: 64px; } 329 329 330 div#file_comments { 330 div#file_comments { white-space: pre; 331 331 margin: 2em; 332 332 font-size: 80%; … … 696 696 </div> 697 697 698 <div id="file_comments"> write an idl procedure, compile it and execute it. 698 <div id="file_comments"> 699 write an idl procedure, compile it and execute it. 699 700 </div> 700 701 … … 736 737 </h4> 737 738 738 <div class="comments"> a string array defining the procedure to be created. each element will be a line of the created procedure. 739 <div class="comments"> 740 a string array defining the procedure to be created. 741 each element will be a line of the created procedure. 739 742 </div> 740 743 … … 758 761 759 762 <div class="comments"> 760 763 name of the procedure to be created. 761 764 </div> 762 765 … … 772 775 </h4> 773 776 774 <div class="comments"> a vector string. to specify a list of keywords that 775 must be included in the procedure definition. Warning: the string 776 must start with a ',' for example: KWDLIST = ', TOTO = toto' 777 <div class="comments"> 778 a vector string. 779 to specify a list of keywords that must be included in the procedure 780 definition. 781 Warning: the string must start with a ',' 782 for example: KWDLIST = ', TOTO = toto' 777 783 </div> 778 784 … … 788 794 </h4> 789 795 790 <div class="comments"> obsolote, please pass directly your keywords through _EXTRA 796 <div class="comments"> 797 obsolete, please pass directly your keywords through _EXTRA 791 798 </div> 792 799 … … 802 809 </h4> 803 810 804 <div class="comments"> used to pass your keywords to the created procedure. 811 <div class="comments"> 812 used to pass your keywords to the created procedure. 805 813 </div> 806 814 807 815 808 816 809 <h3>Examples</h3><div class="value"> 810 IDL> createpro, ['print,''OK'''], filename='test' 811 IDL> createpro, ['if keyword_set(ok) then print,''OK'' else print, ''No'''] $ 812 IDL> , filename = 'test', kwdlist =', ok = ok' 813 IDL> createpro, ['if keyword_set(ok) then print,''OK'' else print, ''No'''] $ 814 IDL> , filename = 'test', kwdlist = ', ok = ok', /ok 815 817 <h3>Examples</h3><div class="preformat"> 818 IDL> createpro, ['print,''OK'''], filename='test' 819 IDL> createpro, ['if keyword_set(ok) then print,''OK'' else print, ''No'''] $ 820 IDL> , filename = 'test', kwdlist =', ok = ok' 821 IDL> createpro, ['if keyword_set(ok) then print,''OK'' else print, ''No'''] $ 822 IDL> , filename = 'test', kwdlist = ', ok = ok', /ok 816 823 </div> 817 824 <h3>Version history</h3> 818 825 819 <h4>Version</h4><div class=" value"> $Id: createpro.pro 118 2006-06-27 15:47:06Z pinsard $</div>820 <h4>History</h4><div class=" value"> Sebastien Masson (smasson@lodyc.jussieu.fr)826 <h4>Version</h4><div class="preformat"> $Id: createpro.pro 136 2006-07-10 15:20:19Z pinsard $</div> 827 <h4>History</h4><div class="preformat"> Sebastien Masson (smasson@lodyc.jussieu.fr) 821 828 cleaning + new keywords: October 2005 822 829 Feb. 2006: supress keyword "kwdused" and use call_procedure instead of execute … … 828 835 829 836 830 <h4>Restrictions</h4><div class=" value">837 <h4>Restrictions</h4><div class="preformat"> 831 838 - is not working with functions, use createfunc instead. 832 839 - arguments can be given only through keywords.
Note: See TracChangeset
for help on using the changeset viewer.