(ddd.info)Creating Multiple Displays


Next: Editing all Displays Prev: Clustering Up: Display Basics
Enter node , (file) or (file)node

7.3.1.10 Creating Multiple Displays
...................................

To display several successive objects of the same type (a section of an
array, or an array of dynamically determined size), you can use the
notation `FROM..TO' in display expressions.

   FROM and TO are numbers that denote the first and last expression to
display.  Thus,

     graph display argv[0..9]

creates 10 new displays for `argv[0]', `argv[1]', ..., `argv[9]'.  The
displays are clustered automatically (Note: Clustering), such that
you can easily handle the set just like an array.

   The `FROM..TO' notation can also be used multiple times.  For
instance,

     graph display 1..5 * 1..5

creates a handy small multiplication table.

   The `FROM..TO' notation creates several displays, which takes time
to create and update.  If you want to display only a part of an array,
_array slices_ are a more efficient way.  Note: Array Slices, for a
discussion.


automatically generated by info2www version 1.2.2.9