What if $m != 0 at the beginning? Should it be something like : print "-" x (80 - $m); ? - Gilbert LE HUU HOA - -- Focal Systems "Tanton Gibbs" <thgibbs@delta Pour : "Michael Gargiullo" <[EMAIL PROTECTED]>, farms.com> "Beginners" <[EMAIL PROTECTED]> cc : 10/04/02 05:14 Objet : Re: shrinking code print "-" x 80; ----- Original Message ----- From: "Michael Gargiullo" <[EMAIL PROTECTED]> To: "Beginners" <[EMAIL PROTECTED]> Sent: Tuesday, April 09, 2002 11:13 PM Subject: shrinking code > How can I write this smaller? > > while($m < 80){ > print "-"; > $m++ > } > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]