[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HTTPAPI 1.10 pre 6 := Encoding numbers



Scott,
 
??!!
 
Do not know why I took the same.
In the original code there are also not the same.
So, could have known.
This gives the correct result.
Thanks.
Sorry for bothering.
 
Kind regards,
Eduard Sluis.

Scott Klement <sk@xxxxxxxxxxxxxxxx> wrote:
Sender: Scott Klement


Hi Eduard,

> C eval wwEncLen = base64_encode(%addr(PART):
> C %len(%trimr(PART)):
> C %addr(PART):
> C %size(PART))

You can't use the same address for both input and output to that function.
Doing so will cause the data to be corrupted.

You need to output to a separate variable.

-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------


Implement-It,
Pos Cabai OfficePark unit 2,
Willemstad, Curaçao,
Netherlands Antilles.

Cell: 5999 5618980 Tel: 5999 7372031 Fax 5999 7372048