Posted by Dinguss on 10/24/80 11:16
I've got the switch structure right:
switch ($i) {
case 1:
print "i equals 1";
break;
default:
print "i doesn't equal 1";
}
But no matter what I do it always executes the default code block. How
do I pass a value for $i to the program?
--
Dinguss (Michael Bradley-Robbins)
http://www.douglasguitars.com/
[Back to original message]
|