Loading ...
Sorry, an error occurred while loading the content.

Re: [PBML] question

Expand Messages
  • merlyn@stonehenge.com
    ... Robert 1. How does one do a form feed (ASCII Character 12) using printf or Robert sprintf? My documentation in Perl by Example doesn t show this. I know
    Message 1 of 17 , Feb 22, 2007
    • 0 Attachment
      >>>>> "Robert" == Robert Brown <rdabman4@...> writes:

      Robert> 1. How does one do a form feed (ASCII Character 12) using printf or
      Robert> sprintf? My documentation in Perl by Example doesn't show this. I know
      Robert> about the format command but would rather use printf or sprintf.

      print chr(12); # will certainly do it
      print "\f"; # will as well

      --
      Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
      <merlyn@...> <URL:http://www.stonehenge.com/merlyn/>
      Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
      See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
    Your message has been successfully submitted and would be delivered to recipients shortly.