home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.pascal.borland      Borland Pascal was actually pretty neat      2,978 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,125 of 2,978   
   Klaus Jorgensen to Marco van de Voort   
   Re: printing variable problems   
   12 Apr 06 20:15:35   
   
   From: kj@no.spam   
      
   Marco van de Voort wrote :   
   > On 2006-04-12, Klaus Jorgensen  wrote:   
   >>> on the same line, then the length of the first variable affects the   
   >>> layout of the second variable.   
   >>   
   >> If you want to control your printer without using escape sequences, you   
   >> could write a function to return a given number of spaces - e.g.   
   >> space(30).   
   >   
   > If it is a printer that uses a proportional font that won't work.   
      
      
   I'm no expert in proportional fonts, but are you telling me that   
   printing a string that is prefixed with a given number of space   
   characters, does not always start at the same position?   
      
   Will the printer print the xxx's on a different position if printed as   
   follows:   
   writeln(space(30),'xxx iiiiiiii');   
   writeln(space(30),'xxx mmmmmmmm');   
      
   Just curious - IIRC, I used proportional fonts on a laser-printer many   
   years back without any problems.   
      
      
   /klaus   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca