Quique - 2005-02-16

selected = DW_container_query_start( container, !REXXDW.!DW_CRA_SELECTED )

Do While selected \= ""
   selected = DW_container_query_next( container, !REXXDW.!DW_CRA_SELECTED )
   say selected
End

The output of this code (2 items selected in this case)
is.

file1
file1
file1
file2
file1
file2

2 items were selected therefore i believe only file1 and file2 should be displayed with the say selected command.

It seems to appear that the 'do while selected \= "" ' does 2 or 3 passes before stopping.

Is this a bug or am I doing something wrong.

Any help is appreciated.