in reply to Re^3: Break foreach and print at specific position?
in thread Break foreach and print at specific position?

I understand what you mean, but it's not what I'm looking, I want to align the output. For example, suppose print "\nValue1 is $data1 Value2 is $data2"; if it's inside a loop and the size of $data1 and $data2 changes often it will get all unaligned. I want to start at a pre-defined position in a way that output of value2 will always be printed on the same place, independent of the size of $data1. Thank you
  • Comment on Re^4: Break foreach and print at specific position?

Replies are listed 'Best First'.
Re^5: Break foreach and print at specific position?
by ikegami (Patriarch) on May 10, 2010 at 23:55 UTC