Adrian

To get the text marks, you'd want to code 
        A = FMT("ABCDEFGHIJKLMNOPQRSTUVWXYZ","10T")
Note formatting "10T", not "10L"

It works that way on 10.0.15 and I must say that's what I expected.
I would have been quite surprised if "10L" and "L#10" were different,
actually.


Mike

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, 31 May 2004 20:02
To: [EMAIL PROTECTED]
Subject: [U2] RE: [UV] 10.0.19 - Bug with FMT?

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
The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
-------
u2-users mailing list
[EMAIL PROTECTED]
http://www.u2ug.org/listinfo/u2-users

Reply via email to