Re: my comet keeps crashing


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

Posted by Barbara Brazil on June 02, 2020 at 15:16:47:

In Reply to: Re: my comet keeps crashing posted by jeffrey harding on June 02, 2020 at 14:43:54:

OK There are a couple of clues. Looks like it was processing array elements in a FORMAT statement for INPUT. The FORMAT uses a repetition factor. I think it was session 6. The last program in the log for that session was an ENTER of program TC20F. You have to be very careful when using repetition factor for arrays with Comet32. If you do this on a multi-dimension array you will get a compiler warning.

When Comet32 was built we changed the way arrays are allocated. The first element is now element 0, not 1. So if you declare an array(5) it actually has 6 elements, 0 thru 5. For compatibility of programs originally written for Comet16 we try to process single dimension arrays in FORMATs with repetition factors by skipping the 0th element.

I think I'm starting to ramble here. Let's start by looking at TC20F and see if it has an INPUT FORMAT with a repetition factor for an array. Maybe we can better explain what the problem is and hopefully issue an error instead of crashing.



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 ]