SELECT CASE MyVAR$(I) vs Comet32


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

Posted by Robert G Laurin on November 10, 2015 at 08:01:22:

Recompiled a Comet16 program in Comet32.

Found that SELECT CASE with an indexed (array) variable does not work...


LET MyVar$(I) = STRIP(WhatEver$)
...
For I = 1 to 3
SELECT CASE MyVar$(I)
CASE '1469'
MyDesc$(I) = 'Priority'
CASE '967'
MyDesc$(I) = 'Expedited'
CASE ELSE
MyDesc$(I) = '** NOT FOUND **'
ENDSELECT
NEXT I

When I Print it, it says NOT FOUND when Compiled in Comet32. Works fine when compiled Comet16.


Tested using Comet16 & Comet32 2015.493

Did not try with Release 494 because I disagree with DES programs going to REL, which is often replaced. I'd rather have my DES on COS which is required anyway for error logs. Update documentation does not fixing this issue anyway.


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 ]