Blank line inserted on append line to file, any idea why please?

bambinou

Client
Регистрация
22.08.2011
Сообщения
436
Благодарностей
21
Баллы
18
Hi,


I have a long code that builds uses twice the same .txt file. This file is used for url appending, my problem is when I try to reuse the same file and take the first url, there is a blank line.

For example:

I have url http://www.mysite.com to append to fileA.txt ,
Hopefully the fileA.txt should be built this waay
1)http://www.mysite.com
2)http://www.anothersite.com
3)http://www.anothersite.com

But right now with this code:
{-File.AppendString-|-\Resources\hi-pr-arcade\good-registrations.txt-|-{-FieldData.FieldData-|-●7●7●4●8●1●8●-|-≡7≡4≡1≡8≡8≡0≡5≡6≡8≡-},{-FieldData.FieldData-|-●1●9●5●8●7●5●-|-sa-1127-},{-FieldData.FieldData-|-●1●9●5●8●7●5●-|-sa-8414-}-|-false-}<--I tried with both "false" and "true"

and this is the result:

1)<---blank line - whatever I do this blank line appears, even if I delete fully all the blank space before running the script.
2)http://www.mysite.com
3)http://www.anothersite.com


Please help,

Thank you,

BamBam
 

lucian

Client
Регистрация
26.10.2011
Сообщения
214
Благодарностей
45
Баллы
0
This means that from a macro that you write to a file already has "enter". Check in debugging, as a result of the branch. You can throw an example of a template that does not work, I can see and correct.
 

bambinou

Client
Регистрация
22.08.2011
Сообщения
436
Благодарностей
21
Баллы
18
Thanks Lucian,

I could not find the error so instead I used line 1 instead of 0, it is all good now.

Thanks again for your help.

BamBam
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)