Topic : GFA-Basic Editor Author : Lonny Pursell Version : GBE.HYP v3.74 (12/31/2023) Subject : Programming/Documentation Nodes : 171 Index Size : 4296 HCP-Version : 3 Compiled on : Atari @charset : atarist @lang : @default : Default @help : STG Help @options : +g -i -s +z @width : 75 @hostname : THING @hostname : STRNGSRV @hostname : HIGHWIRE @hostname : CAB View Ref-FileThis option tests the placement of CONT inside SELECT/ENDSELECT constructs. CONT must proceed a CASE or DEFAULT command otherwise it does not work at all. It also checks for misplaced code between SELECT and CASE/DEFAULT statements. Example: works x&=1 SELECT x& CASE 1 PRINT "x is equal to 1" CONT CASE 2 PRINT "x is equal to 2" CASE 1,3 PRINT "x is equal to 3" DEFAULT PRINT "x is not equal to 1, 2, or 3" ENDSELECT Example: fails x&=1 SELECT x& CASE 1 PRINT "x is equal to 1" CONT ' even a comment causes it to fail in the editor! CASE 2 PRINT "x is equal to 2" CASE 1,3 PRINT "x is equal to 3" DEFAULT PRINT "x is not equal to 1, 2, or 3" ENDSELECT Example: unreachable code x&=1 SELECT x& CLS !generates code, but unreachable CASE 1 PRINT "hello world" ENDSELECT