JavaScript EditorFree JavaScript Editor     Perl Manuals 



Main Page

7.12. Translating Indexes

The index method translates an index specification (such as "active") into the numerical equivalent. For instance, if the Listbox contains 12 items, $index = $lb->index("end") sets the variable $index to 11. (Remember the first item in a Listbox is at index 0.)






JavaScript EditorJavaScript Formatter     Perl Manuals


©