![]() |
| ||
|
|
Новости |
Поиск |
FAQ |
Статьи |
Книги |
Новости VCL
| | Форумы ЧАТ |
Орешник |
|
| |||
| |||
« предыдущая ветвь | форум | следующая ветвь »
Все добрый день
Лана Розанова © (2002-01-28 11:09:00)Как, например, символ { перевести в код программно.
yaJohn (2002-01-28 12:21:00) [1]2 Serghei
>function Ord(X): Longint;
>Description
>X is an ordinal-type or character-type expression. The result >is of type Longint, and its value is the ordinal position of X.
"symbol": string.
2 Лана Розанова
s: string;
---
s:="{Hellow world";
ch:=s[1];
code:=ord(s[1]);
code:=byte(s[1]);
Serghei (2002-01-28 11:10:00) [2]ORD("symbol")