STRING( ) Function in Comet32

[ Follow Ups ] [ Post Followup ] [ Forum ]

Posted by Robert G Laurin on July 15, 2013 at 09:09:13:

Found out (the hard way) that the STRING( ) function does not like a negative count. Comet32 Only.

Where a line like:

LET LIN$ = STRING(' ',68-LEN(LIN$)) + LIN$

Would generate a blank LIN$ in Comet32 if LIN$ was already longer than 68.

Discovered this while debugging an annoyance in CED where the COPY warning message would sometime be blank if the combined length of the message + length of the keys would exceed 68. Since LIN$ was declared as a 79, I simply expanded the STRING( ) to 75 which is the maximum length of this message.

This problem does not exist with Comet16.

The fix in CED will be available in CED 13.01 (soon!)

Tested with Comet32 2012 and Comet32.474 2013

Follow Ups:

Post a Followup



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


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 ] [ Forum ]