| Author |
Comment/Response |
Millie Wan
|
12/23/99 7:44pm
I work with lists, in which I extract a position using Position[] command which gives output {{i}}. I need to apply the obtained position as an integer
to another list, in order to extract some data from it. The problem I have is
the position command gives me a position specification with a head List.
How do I convert the output {{i}} to an integer so that I can use it in a
command such as list[[i]] where i is an integer? I do not want to physically
type in a number as I want to use this in a Do loop.
URL: , |
|