Re: Comet 32 Arrays


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

Posted by Robert G Laurin on April 09, 2011 at 12:35:44:

In Reply to: Comet 32 Arrays posted by Jim Guerber on April 09, 2011 at 09:53:59:

Is it too late to issue my humble opinion?

I'm not sure I agree that a Comet32 multi-array format should ignore element zero.

if I recall the syntax, it looks like this: array(1),NumberOf*LengthOf

so...

LENGTH 12.2 & LOCAL MyArray(8), MyTable(2,4)
MyDatafile: FORMAT MyArray(1)8*14; MyTable(1,1)8*14

This works with Comet16 and would work on your proposed Comet32 (where all ZERO subscript)

What if...

I code my program like this: (works for Comet32 only)

LENGTH 12.2 & LOCAL MyArray(8), MyTable(2,4)
MyDatafile: FORMAT MyArray(0)9*14; MyTable(0,0)10*14

Couldn't the compiler/runtime take an educated guess that I'd like to include my ZERO elements - all of them.

Otherwise, you take away a big chunk of this addition that makes Comet more in line with the rest of the civilized world.

And that's what I had to say about that.



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 ]