1<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3//EN"> 2<HTML><HEAD> 3 <TITLE>User's Reference - Enumerate</TITLE> 4 <META HTTP-EQUIV="keywords" CONTENT="GRAPHICS VISUALIZATION VISUAL PROGRAM DATA 5MINING"> 6 <meta http-equiv="content-type" content="text/html;charset=ISO-8859-1"> 7</HEAD><BODY BGCOLOR="#FFFFFF" link="#00004b" vlink="#4b004b"> 8 <TABLE width=510 border=0 cellpadding=0 cellspacing=0> 9 <TR> 10 <TD><IMG src="../images/spacer.gif" width=80 height=1></TD> 11 <TD><IMG src="../images/spacer.gif" width=49 height=1></TD> 12 <TD><IMG src="../images/spacer.gif" width=24 height=1></TD> 13 <TD><IMG src="../images/spacer.gif" width=100 height=1></TD> 14 <TD><IMG src="../images/spacer.gif" width=3 height=1></TD> 15 <TD><IMG src="../images/spacer.gif" width=127 height=1></TD> 16 <TD><IMG src="../images/spacer.gif" width=6 height=1></TD> 17 <TD><IMG src="../images/spacer.gif" width=50 height=1></TD> 18 <TD><IMG src="../images/spacer.gif" width=71 height=1></TD> 19 </TR> 20 <TR> 21 <TD colspan=9><IMG src="../images/flcgh_01.gif" width=510 height=24 alt="OpenDX - Documentation"></TD> 22 </TR> 23 <TR> 24 <TD colspan=2><A href="../allguide.htm"><IMG src="../images/flcgh_02.gif" width=129 height=25 border="0" alt="Full Contents"></A></TD> 25 <TD colspan=3><A href="../qikguide.htm"><IMG src="../images/flcgh_03.gif" width=127 height=25 border="0" alt="QuickStart Guide"></A></TD> 26 <TD><A href="../usrguide.htm"><IMG src="../images/flcgh_04.gif" width=127 height=25 border="0" alt="User's Guide"></A></TD> 27 <TD colspan=3><B><A href="../refguide.htm"><IMG src="../images/flcgh_05d.gif" width=127 height=25 border="0" alt="User's Reference"></A></B></TD> 28 </TR> 29 <TR> 30 <TD><A href="refgu051.htm"><IMG src="../images/flcgh_06.gif" width=80 height=17 border="0" alt="Previous Page"></A></TD> 31 <TD colspan=2><A href="refgu053.htm"><IMG src="../images/flcgh_07.gif" width=73 height=17 border="0" alt="Next Page"></A></TD> 32 <TD><A href="../refguide.htm"><IMG src="../images/flcgh_08.gif" width=100 height=17 border="0" alt="Table of Contents"></A></TD> 33 <TD colspan=3><A href="refgu009.htm"><IMG src="../images/flcgh_09.gif" width=136 height=17 border="0" alt="Partial Table of Contents"></A></TD> 34 <TD><A href="refgu175.htm"><IMG src="../images/flcgh_10.gif" width=50 height=17 border="0" alt="Index"></A></TD> 35 <TD><A href="../srchindx.htm"><IMG src="../images/flcgh_11.gif" width=71 height=17 border="0" alt="Search"></A></TD> 36 </TR> 37 </TABLE> 38 <H3><A name="HDRENUMER" ></A>Enumerate</H3> 39 <A NAME="IDX475"></A><A NAME="IDX476"></A> 40<P><STRONG>Category</STRONG> 41<P> 42<A HREF="refgu008.htm#HDRCATREL">Realization</A> 43<P><STRONG>Function</STRONG> 44<P> 45Generates a numeric list. 46<P><STRONG>Syntax</STRONG> 47<PRE> 48<STRONG>list</STRONG> = Enumerate(<STRONG>start, end, count, delta, method</STRONG>); 49</PRE> 50<P><STRONG>Inputs</STRONG> 51<BR> 52<TABLE BORDER> 53<TR> 54<TH ALIGN="LEFT" VALIGN="TOP" WIDTH="20%">Name 55</TH><TH ALIGN="LEFT" VALIGN="TOP" WIDTH="20%">Type 56</TH><TH ALIGN="LEFT" VALIGN="TOP" WIDTH="20%">Default 57</TH><TH ALIGN="LEFT" VALIGN="TOP" WIDTH="40%">Description 58</TH></TR><TR> 59<TD ALIGN="LEFT" VALIGN="TOP" WIDTH="20%"><TT><STRONG>start</STRONG></TT> 60</TD><TD ALIGN="LEFT" VALIGN="TOP" WIDTH="20%">scalar or vector 61</TD><TD ALIGN="LEFT" VALIGN="TOP" WIDTH="20%">input dependent 62</TD><TD ALIGN="LEFT" VALIGN="TOP" WIDTH="40%">first value in list 63</TD></TR><TR> 64<TD ALIGN="LEFT" VALIGN="TOP" WIDTH="20%"><TT><STRONG>end</STRONG></TT> 65</TD><TD ALIGN="LEFT" VALIGN="TOP" WIDTH="20%">scalar or vector 66</TD><TD ALIGN="LEFT" VALIGN="TOP" WIDTH="20%">input dependent 67</TD><TD ALIGN="LEFT" VALIGN="TOP" WIDTH="40%">last value in list 68</TD></TR><TR> 69<TD ALIGN="LEFT" VALIGN="TOP" WIDTH="20%"><TT><STRONG>count</STRONG></TT> 70</TD><TD ALIGN="LEFT" VALIGN="TOP" WIDTH="20%">integer 71</TD><TD ALIGN="LEFT" VALIGN="TOP" WIDTH="20%">input dependent 72</TD><TD ALIGN="LEFT" VALIGN="TOP" WIDTH="40%">number of entries in list 73</TD></TR><TR> 74<TD ALIGN="LEFT" VALIGN="TOP" WIDTH="20%"><TT><STRONG>delta</STRONG></TT> 75</TD><TD ALIGN="LEFT" VALIGN="TOP" WIDTH="20%">scalar or vector 76</TD><TD ALIGN="LEFT" VALIGN="TOP" WIDTH="20%">input dependent 77</TD><TD ALIGN="LEFT" VALIGN="TOP" WIDTH="40%">numeric spacing 78</TD></TR><TR> 79<TD ALIGN="LEFT" VALIGN="TOP" WIDTH="20%"><TT><STRONG>method</STRONG></TT> 80</TD><TD ALIGN="LEFT" VALIGN="TOP" WIDTH="20%">string 81</TD><TD ALIGN="LEFT" VALIGN="TOP" WIDTH="20%">"linear" 82</TD><TD ALIGN="LEFT" VALIGN="TOP" WIDTH="40%">method 83</TD></TR></TABLE> 84<P><STRONG>Outputs</STRONG> 85<BR> 86<TABLE BORDER> 87<TR> 88<TH ALIGN="LEFT" VALIGN="TOP" WIDTH="25%">Name 89</TH><TH ALIGN="LEFT" VALIGN="TOP" WIDTH="25%">Type 90</TH><TH ALIGN="LEFT" VALIGN="TOP" WIDTH="50%">Description 91</TH></TR><TR> 92<TD ALIGN="LEFT" VALIGN="TOP" WIDTH="25%"><TT><STRONG>list</STRONG></TT> 93</TD><TD ALIGN="LEFT" VALIGN="TOP" WIDTH="25%">value list 94</TD><TD ALIGN="LEFT" VALIGN="TOP" WIDTH="50%">the numeric list 95</TD></TR></TABLE> 96<P><STRONG>Functional Details</STRONG> 97<P> 98This module creates a list of numeric values. 99<TABLE CELLPADDING="3"> 100<TR VALIGN="TOP"><TD><P><B><TT><STRONG>start</STRONG></TT> 101</B></TD><TD><P>specifies the first value in the list. 102</TD></TR><TR VALIGN="TOP"><TD><P><B><TT><STRONG>end</STRONG></TT> 103</B></TD><TD><P>specifies the last value in the list. 104</TD></TR><TR VALIGN="TOP"><TD><P><B><TT><STRONG>count</STRONG></TT> 105</B></TD><TD><P>specifies the number of items in the list. 106</TD></TR><TR VALIGN="TOP"><TD><P><B><TT><STRONG>delta</STRONG></TT> 107</B></TD><TD><P>specifies the numerical spacing between successive items in the 108list. 109If <TT><STRONG>start</STRONG></TT> and <TT><STRONG>end</STRONG></TT> are vector 110values and this parameter is specified, it must be specified as 111a matching vector. 112</TD></TR><TR VALIGN="TOP"><TD><P><B><TT><STRONG>method</STRONG></TT> 113</B></TD><TD><P>specifies the type of list to be created. 114At present, the specification must be "linear." 115The list created is a linear sequence of numbers from 116<TT><STRONG>start</STRONG></TT> 117to <TT><STRONG>end</STRONG></TT>, containing <TT><STRONG>count</STRONG></TT> 118items 119or containing items separated by a spacing interval of 120<TT><STRONG>delta</STRONG></TT>. 121</TD></TR></TABLE> 122<P><B>Note: </B>Only three of the first four parameters are required. 123If all four are specified, <TT><STRONG>delta</STRONG></TT> is ignored. 124<P><STRONG>Example Visual Program</STRONG> 125<PRE> 126ContoursAndCaption.net 127</PRE> 128 <P> 129 <HR> 130 <DIV align="center"> 131 <P><A href="../allguide.htm"><IMG src="../images/foot-fc.gif" width="94" height="18" border="0" alt="Full Contents"></A> <A href="../qikguide.htm"><IMG src="../images/foot-qs.gif" width="94" height="18" border="0" alt="QuickStart Guide"></A> <A href="../usrguide.htm"><IMG src="../images/foot-ug.gif" width="94" height="18" border="0" alt="User's Guide"></A> <A href="../refguide.htm"><IMG src="../images/foot-ur.gif" width="94" height="18" border="0" alt="User's Reference"></A></P> 132 </DIV> 133 <DIV align="center"> 134 <P><FONT size="-1">[ <A href="http://www.research.ibm.com/dx">OpenDX Home at IBM</A> | <A href="http://www.opendx.org/">OpenDX.org</A> ] </FONT></P> 135 <P></P> 136 </DIV> 137 <P></P> 138 </BODY></HTML> 139