Goo'day,

As recently as last Thursday, I was informed of a bug with FMT in UV10.0.something.

I understand it's fixed with UV10.1 .....

At 06:12 01/06/04, you wrote:

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



--
Incoming mail is certified Virus Free.
Checked by AVG Anti-Virus (http://www.grisoft.com).
Version: 7.0.245 / Virus Database: 262.10.6 - Release Date: 28/05/04

Regards,

Bruce Nichol
Talon Computer Services
ALBURY        NSW     2640
Australia

Tel: +61 (0)411149636
Fax: +61 (0)260232119

If it ain't broke, fix it till it is!


-- Outgoing mail is certified Virus Free. Checked by AVG Anti-Virus (http://www.grisoft.com). Version: 7.0.245 / Virus Database: 262.10.6 - Release Date: 28/05/04 ------- u2-users mailing list [EMAIL PROTECTED] http://www.u2ug.org/listinfo/u2-users

Reply via email to