Показать сообщение отдельно
Старый 06.04.2006, 13:06   #2  
garu is offline
garu
Участник
 
33 / 21 (1) +++
Регистрация: 03.07.2003
Цитата:
Сообщение от Maxim Gorbunov
Try using the info() function instead of the print statement. There is a disadvantage - you only can output strings with this function. But there is the strfmt() function which can convert any data to string and format it accordingly. Take a look at my example:
X++:
int x = 1;
real y = 2.55;
;
info(strfmt("x = %1, y = %2", x, y)); // x = 1, y = 2.55
info() function will open the Infolog window and collect all your messages there. This window can be printed out by clicking on the printer button in toolbar.

For more information on strfmt(), open AOT and go to System documentation/Functions/strfmt

But, info window has limit of rows no more 10 000