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,121 of 2,978    |
|    Klaus Jorgensen to jaf.2k@ntlworld.com    |
|    Re: printing variable problems    |
|    12 Apr 06 09:39:52    |
   
   From: kj@no.spam   
      
   jaf.2k@ntlworld.com wrote :   
   >   
   > I'm doing an ordering / booking system which is capable of printing   
   > invoices. The only thing which really annoys me at the moment is that   
   > if I want two variables printed (from printer to paper, not to screen)   
   > 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).   
      
   Then write your strings as:   
   writeln('Description: ',var1,^M,space(30),'Description: ',var2);   
      
      
   /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