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

Const как var.   Найти похожие ветки 

 
Drowsy   (2008-09-14 22:53) [0]

const
     ProjectsDir : string = "";
     ProjectDir  :  string = "";
     WorkBasesDir: string = "";
Интересно, в одном проекте подобные константы ведут себя как переменные, например, позволяют присваивать значения, а в другом
выдаёт ошибку. Почему?


 
oxffff ©   (2008-09-14 22:57) [1]

см. $J

The $J directive controls whether typed constants can be modified or not. In the {$J+} state, typed constants can be modified, and are in essence initialized variables. In the {$J-} state, typed constants are truly constant, and any attempt to modify a typed constant causes the compiler to report an error.


 
Drowsy   (2008-09-14 23:09) [2]

О!!!!
Большое спасибо, oxffff!



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

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



Память: 0.45 MB
Время: 0.008 c
2-1220876858
programmer90
2008-09-08 16:27
2008.10.19
как убрать у комбобокса убрать эту штуку справа


15-1219719674
Slider007
2008-08-26 07:01
2008.10.19
С днем рождения ! 26 августа 2008 вторник


2-1221147485
Weeeetch
2008-09-11 19:38
2008.10.19
Требуется подсказка


2-1221471665
vegarulez
2008-09-15 13:41
2008.10.19
Вопрос про Grid, Table, Query (ZeosDBO)


3-1208278127
Вопрос
2008-04-15 20:48
2008.10.19
как найти 10 "последних записей" в sql ?




   Наверх