Hello fellow ROM enthusiasts,

These both achieve the same result:
char buf[MSL];

sprintf(buf, "first line ");
strcat(buf, "second line ");
strcat(buf, "third line ");
...
send_to_char(buf, ch);

and:
send_to_char("First line ", ch);
send_to_char("Second line ", ch);
send_to_char("Third line ", ch);
...

I was wondering, however, if calling send_to_char many consecutive times like 
that is inefficient.
Is there a considerable difference between sending 10 or so lines, one at a 
time, and sending them
as a big, single line?

Thank you,
Jeremy Hill


Reply via email to