Community
string $selection[] = `ls -sl` ;
---
optionMenu -label "----";
menuItem -label "$selection[0]";
menuItem -label "$selection[1]";
menuItem -label "$selection[2]";
now my problem is .. sometimes the $selection may have, say 5 items .. sometimes it may have 10.
help me