The following statement on 10.0 would insert text marks (@TM) into the
string every 10 characters:

        A = FMT("ABCDEFGHIJKLMNOPQRSTUVWXYZ","10L")

This one would truncate and give only the first 10 characters.

        A = FMT("ABCDEFGHIJKLMNOPQRSTUVWXYZ","L#10")

Under 10.0.19 the first statement is doing exactly the same as the second
(ie. truncating). Surely this is incorrect.

As a test I tried this:

        A = FMTS("ABCDEFGHIJKLMNOPQRSTUVWXYZ","10L")

(Note: FMTS not FMT - for multi-valued FMT)

and it correctly inserted the text marks every 10 characters.

Does anyone know if this is a known bug, or if there is a compile time
switch that I am unaware of?

Thanks,

AdrianW






Disclaimer.  This e-mail is private and confidential. If you are not the
intended recipient, please advise us by return e-mail immediately, and
delete the e-mail and any attachments without using or disclosing the
contents in any way. The views expressed in this e-mail are those of the
author, and do not represent those of this company unless this is clearly
indicated. You should scan this e-mail and any attachments for viruses. This
company accepts no liability for any direct or indirect damage or loss
resulting from the use of any attachments to this e-mail.
-------
u2-users mailing list
[EMAIL PROTECTED]
http://www.u2ug.org/listinfo/u2-users

Reply via email to