Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: displaylist.lastchange - Function Up: displaylist - Tool Previous: displaylist.compact - Function


displaylist.apply - Function



Package display
Module guiutils
Tool displaylist


call a function on items


Synopsis
apply(fun, dodraw)


Description
Apply applies a function to every item in the draw list (default) or clipboard. The function must take a single argument (or all the other arguments must default), i.e., the item it is being passed.



Arguments

fun   the function we are applying to items
    Allowed: function
dodraw   apply to items in draw list or clipboard
    Allowed: boolean
    Default: T (draw)


Returns
the length of the drawlist or or clipboard or fail




next up previous contents index
Next: displaylist.lastchange - Function Up: displaylist - Tool Previous: displaylist.compact - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15