Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Text report by Hilmar Zonneveld
Message
From
14/08/2005 11:13:19
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
14/08/2005 11:09:24
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01040780
Message ID:
01040789
Views:
17
>I removed the chr(66) for the PC_RESET in textreport.txt and change the printout to this.print(), everything works perfectly.

The PC_RESET, I understand, but I don't quite understand why This.PrintLine() would produce an additional line. Do you explicitly include a new-line symbol, like chr(13) + chr(10)? You should not do this; if you do, the class can't keep track of line and column positions (for example, a new page, with the corresponding methods GroupHeader(), GroupFooter(), PageHeader(), will be issued automatically once a certain number of lines are printed). Instead, to advance an additional line, you should use This.PrintLine().
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform