Вниз
Скачать: CL | DM;

AnsiString[128] - "; Expected ; but received [ at line"   Найти похожие ветки 

 
Cobalt ©   (2012-03-22 17:45) [0]

D2010
const
 PLUGIN_MENU_BUFSZ = 128;

type

 InternalShortString2 = String[128];
 InternalShortString3 = String[PLUGIN_MENU_BUFSZ];

 InternalShortString = AnsiString[128];


Ругается на последнюю строку, и не компилирует :(
Фигли?


 
Германн ©   (2012-03-22 17:53) [1]


> Фигли?

Не путай ShortString и AnsiString


 
begin...end ©   (2012-03-22 18:25) [2]

Добавлю, что две предыдущие строчки компилируются потому, что

In the default {$H+} state, the compiler interprets string (when it appears without a bracketed number after it) as AnsiString.
(c) Help

Sorry, I"m drunk now



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.092 c
15-1333119005
Baks
2012-03-30 18:50
2013.03.22
#10008 - replace hard disk1


15-1352372205
Scott Storch
2012-11-08 14:56
2013.03.22
как обозвать action


2-1346134856
noob_one
2012-08-28 10:20
2013.03.22
Терминал сбора данных


15-1342729805
Юрий
2012-07-20 00:30
2013.03.22
С днем рождения ! 20 июля 2012 пятница


15-1343205350
Eu
2012-07-25 12:35
2013.03.22
До какого числа Double точно хранит целые?




   Наверх