|
Добавить текст в существующий текстовый файл
|
|||
---|---|---|---|
#18+
Нужно Добавить текст в начало существующего текстовый файл pth="v:\xml_conv\" xmlFileName=pth+"6565.xml" nhandle=FOPEN(ALLTRIM(UPPER(m.xmlFileName)),2) * Делаю Добавление в начало текста: =FPUTS(nhandle,[<?xml version="1.0" encoding="windows-1251"?>]) Происходит ЗАМЕЩЕНИЕ первых символов старого текста , а не ВСТАВКА новой строки Как сделать вставку ? ... |
|||
:
Нравится:
Не нравится:
|
|||
24.07.2015, 11:06 |
|
Добавить текст в существующий текстовый файл
|
|||
---|---|---|---|
#18+
Код: sql 1.
... |
|||
:
Нравится:
Не нравится:
|
|||
24.07.2015, 11:23 |
|
Добавить текст в существующий текстовый файл
|
|||
---|---|---|---|
#18+
tanglir, strtofile(textm('<?xml version="1.0" encoding="windows-1251"?><<chr(13)+chr(10)>><<filetostr(m.xmlFileName)>>'),m.xmlFileName) или s=textm('<?xml version="1.0" encoding="windows-1251"?><<chr(13)+chr(10)>><<filetostr(m.xmlFileName)>>') strtofile(s,m.xmlFileName) ... |
|||
:
Нравится:
Не нравится:
|
|||
24.07.2015, 13:25 |
|
|
start [/forum/search_topic.php?author=Vladimir+Dozen&author_mode=last_topics&do_search=1]: |
0ms |
get settings: |
10ms |
get forum list: |
15ms |
get settings: |
8ms |
get forum list: |
12ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
29ms |
get topic data: |
10ms |
get forum data: |
2ms |
get page messages: |
40ms |
get tp. blocked users: |
2ms |
others: | 10391ms |
total: | 10525ms |
0 / 0 |