Текущий архив: 2007.07.08;
Скачать: CL | DM;
Вниз
type string Найти похожие ветки
← →
REA (2007-06-08 13:04) [0]увидел тут конструкцию в исходниках:
type
TRoot = type string;
это зачем так?
← →
Думкин © (2007-06-08 13:08) [1]
Type Identity
When one type identifier is declared using another type identifier, without qualification, they denote the same type. Thus, given the declarations
type
T1 = Integer;
T2 = T1;
T3 = Integer;
T4 = T2;
T1, T2, T3, T4, and Integer all denote the same type. To create distinct types, repeat the word type in the declaration. For example,
type TMyInteger = type Integer;
creates a new type called TMyInteger which is not identical to Integer.
← →
REA (2007-06-08 13:12) [2]Спасибо за информацию. Правда ни разу такого не приходилось делать, но возможно пригодится...
← →
Юрий Зотов © (2007-06-08 13:57) [3]> REA
При таком объявлении создается новый тип со своей собственной RTTI
← →
clickmaker © (2007-06-08 15:24) [4]аналог новояза? "типа строка" :)
← →
Style © (2007-06-08 15:28) [5]Мне больше такая конструкция нарвица :)))
#define TRUE FALSE //счастливой отладки сц..ки
Страницы: 1 вся ветка
Текущий архив: 2007.07.08;
Скачать: CL | DM;
Память: 0.45 MB
Время: 0.046 c