Comet32 and field length override.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Robert G Laurin on January 04, 2012 at 08:39:45:

Found another discrepancy between Comet16 and Comet32.

I believe Comet32 is wrong.

I am reading a Comet file that was built from a text file, there's an extra space between some of the fields.

Data look like this:


ABCDE FGHIJ 1 2 3 4 5 6

Usefile looks like this:


Length 3.0 & local ARR(6)
Length 5 & local Arg1$,Arg2$

MyData: Format Arg1$,6;Arg2$,6;Arr(1),6*5

Using Comet16, all variables are properly aligned and Arg1$ and Arg2$ have a LEN( ) of 5 (declared length)

Using Comet32, all variables are properly aligned but Arg1$ and Arg2$ now have a LEN( ) of 6, not withstanding the fact that they are declared as 5. If I print those variables, they print as 6 positions.

I believe this is Wrong.

Tested on Comet 16/32 2011.450 and 452.



Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]