Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2005.03.27;
Скачать: CL | DM;

Вниз

Помогите со строчкой? пишет ошибку если стринг >255   Найти похожие ветки 

 
Catalyst   (2005-03-15 11:59) [0]

Пытаюсь отправить запрос HTTP серверу, запрос длинный

GET / HTTP/1.1
Accept image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*
Accept-Encoding gzip, deflate
Accept-Language ru
Connection Keep-Alive
Cookie lastUpdate=1110875906171; auth2_logged=1;
Host host.ru
User-Agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)

Подскажите какой тип переменной юзать?


 
Alexander Panov ©   (2005-03-15 12:05) [1]

Из справки (string literals):

A character string, also called a string literal or string constant, consists of a quoted string, a control string, or a combination of quoted and control strings. Separators can occur only within quoted strings.
A quoted string is a sequence of up to 255 characters from the extended ASCII character set, written on one line and enclosed by apostrophes.


Следовательно, используй конкатенацию литералов для получения результирующей строки.

+...+...



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

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

Наверх




Память: 0.46 MB
Время: 0.041 c
14-1110203727
Ломброзо
2005-03-07 16:55
2005.03.27
По просьбам трудящихся!


1-1110979999
Alex_C
2005-03-16 16:33
2005.03.27
Не могу создать в RealTime TRxGIFAnimator


1-1111052504
Gerakl
2005-03-17 12:41
2005.03.27
Delphi2005 (IDE)


14-1110363553
R.D.I.
2005-03-09 13:19
2005.03.27
Сайт kladovka.com.ru приостановил работу?


1-1110625305
iffi
2005-03-12 14:01
2005.03.27
Окно поверх всех других!