View Single Post
  #5 (permalink)  
Old 06-13-2006, 08:23 AM
firedave's Avatar
firedave firedave is offline
Senior Member
 
Join Date: Nov 2005
Location: Jakarta, Indonesia
Posts: 416
firedave is on a distinguished road
Another trick that I use is don't print the comment right away, just set a variable for each line comment. After the checking routine is done, then print all comment variable.

Example :
if (somecode=othercode){
Comment1 = "Yesterday quotations";}

if (anothercode=yetanother){
Comment2 = "\nTodays quotations";}

Comment(Comment1,Comment2);

Maybe other programmer got other solution. Hope this help
__________________
David Michael H
"Trader helps traders with sincerity, honesty and integrity"
Reply With Quote