Reply To: 9.0e truncating strings to 255 characters, why?

Product Compare Forums Multi-Edit Support 9.0e truncating strings to 255 characters, why? Reply To: 9.0e truncating strings to 255 characters, why?

#4022
AndyColson
Participant

Here is a test macro. it works for me, both write out 1502 chars…

[code:3hg3urn4]
void test()
{
create_window;
Make_Window_Visible(1);
file_name = ‘temp.txt’;

str s[1505];
int i;
for (i=1; i<1502; i++) {
s = s + ‘a’;
}

text(s);
put_line_to_win(s, 2, cur_window, false);
}
[/code:3hg3urn4]

There must be something going on before you get to the Text() call.

-Andy