Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2013.03.22;
Скачать: 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 вся ветка

Текущий архив: 2013.03.22;
Скачать: CL | DM;

Наверх




Память: 0.46 MB
Время: 0.054 c
15-1339316192
MastaK
2012-06-10 12:16
2013.03.22
Игра Sokoban


15-1329835501
Pavia
2012-02-21 18:45
2013.03.22
Максимально выделить память


2-1342612652
AV
2012-07-18 15:57
2013.03.22
Как бы мне попасть линией от начала до текущей позиции TrackBar


15-1351507682
ClawClaw
2012-10-29 14:48
2013.03.22
Мастерам раскрутки сайтов


3-1281686301
Alekcey
2010-08-13 11:58
2013.03.22
Delphi7+DBGridEh+FireBird+IBDataSet