Comet/32 bug in SELECT CASE statement


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

Posted by Bob A on October 24, 2014 at 08:59:16:

have used this many times in Comet/16:

SELECT CASE SELECTED$(LUN)
CASE Y.ANS$
GOSUB FurtherProcessing
CASE N.ANS$
::::::
ENDSELECT

Y.ANS$ and N.ANS$ are the constants "Y" and "N"... just easier to find in the listing....

I had to trace this to find out what was going on in Comet/32...

if I have the array item SELECTED$(LUN) the trace displays that it hits the CASE Y.ANS$ statement but never enters the GOSUB

if I put SELECTED.LUN$ = SELECTED$(LUN)
and use the SELECTED.LUN$ in the SELECT CASE statement... works as always

Bob "A"

P.S. Ebola update from NYC... at 06h30AM there were helicopters buzzing over head and a major thoroughfare (First Avenue) was half-closed to accommodate the satellite trucks in front of Bellevue Hospital (it's on 27th street... I'm on 20th street... oh well......)


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 ]