On Thu, 8 Nov 2001, Etienne Marcotte wrote:
> because $_ contains the index number only
>
> you need to access the element of the array!!!
>
> -label=>$_boards[$_],
> -value =>$_boards[$_],
No, actually, $_ contains the actual item from the array as used in a
foreach loop like this.
The radio button doesn't display because it wasn't printed out:
foreach (@_boards){
print $cc3-> radiobutton (-label=>$_,
-value =>$_,
-variable=>\$NIC,
-command =>sub { cbkSetLangage}
);
}
-- Brett
http://www.chapelperilous.net/
------------------------------------------------------------------------
"What I've done, of course, is total garbage."
-- R. Willard, Pure Math 430a
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]