parameters: (text)
docstring: Output multiline text that's internally indented.
  
      Pass this a multiline character string.  The whitespace before the
      first nonblank line of the string will be subtracted from all lines.
      The lines are then output using Output(), but without interpretation
      of formatting (if you need formatting you can do it before the call).
      Recommended use:
  
          Out('''
              int main(argc, argv)
                  int argc;
                  char *argv;
              {
                  printf("Hello, world\\n");
                  exit(0);
              }
          ''')
  
      Caveat: the indentation must be consistent -- if you use three tabs
      in the first line, (up to) three tabs are removed from following lines,
      but a line beginning with 24 spaces is not trimmed at all.  Don't use
      this as a feature.
docstring_summary: Output multiline text that's internally indented.
docstring_tokens: Output multiline text that s internally indented .
function: def Out(text):
      """Output multiline text that's internally indented.
  
      Pass this a multiline character string.  The whitespace before the
      first nonblank line of the string will be subtracted from all lines.
      The lines are then output using Output(), but without interpretation
      of formatting (if you need formatting you can do it before the call).
      Recommended use:
  
          Out('''
              int main(argc, argv)
                  int argc;
                  char *argv;
              {
                  printf("Hello, world\\n");
                  exit(0);
              }
          ''')
  
      Caveat: the indentation must be consistent -- if you use three tabs
      in the first line, (up to) three tabs are removed from following lines,
      but a line beginning with 24 spaces is not trimmed at all.  Don't use
      this as a feature.
      """
      # (Don't you love using triple quotes *inside* triple quotes? :-)
  
      lines = text.split('\n')
      indent = ""
      for line in lines:
          if line.strip():
              for c in line:
                  if not c.isspace():
                      break
                  indent = indent + c
              break
      n = len(indent)
      for line in lines:
          if line[:n] == indent:
              line = line[n:]
          else:
              for c in indent:
                  if line[:1] <> c: break
                  line = line[1:]
          VaOutput("%s", line)
function_tokens: def Out ( text ) : # (Don't you love using triple quotes *inside* triple quotes? :-) lines = text . split ( '\n' ) indent = "" for line in lines : if line . strip ( ) : for c in line : if not c . isspace ( ) : break indent = indent + c break n = len ( indent ) for line in lines : if line [ : n ] == indent : line = line [ n : ] else : for c in indent : if line [ : 1 ] <> c : break line = line [ 1 : ] VaOutput ( "%s" , line )