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

Ошибка в справке Delphi   Найти похожие ветки 

 
Piter ©   (2006-08-07 19:09) [0]

пример на функцию IntToHex:


The following example uses an edit control, a button, and a label on a form. When the button is clicked, the hexadecimal value of each character in the edit control is displayed in the label.

procedure TForm1.Button1Click(Sender: TObject);

var
 i: Integer;
begin
 Label1.Caption := "";
 for i := 1 to Length(Edit1.Text) do
 begin
   try
     Label1.Caption := Label1.Caption + IntToHex(Edit1.Text[i],2) + " ";
   except
     Beep;
   end;
 end;
end;


Chr что ли забыли?


 
Reindeer Moss Eater ©   (2006-08-07 19:31) [1]

Byte забыли


 
Joe_from_smart   (2006-08-07 19:52) [2]

А куда там chr?


 
Piter ©   (2006-08-07 21:03) [3]

ой, я имел в виду Ord конечно :)



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

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



Память: 0.45 MB
Время: 0.054 c
3-1151054077
antoxa2005
2006-06-23 13:14
2006.09.03
Подскажите, а как устоены блокировки в FB?


4-1147440994
Natan
2006-05-12 17:36
2006.09.03
Если кто может, помогите определить системные требования компа...


2-1155562900
Слон
2006-08-14 17:41
2006.09.03
Нужна помощь с заданием.


1-1153588312
другой гость
2006-07-22 21:11
2006.09.03
ищется функция для расчета лунных дней


2-1155371002
SerJaNT
2006-08-12 12:23
2006.09.03
Колесо прокрутки




   Наверх