[Gambas-user] Select Case Structure

Michael Sullivan michael at ...558...
Wed Aug 18 23:07:40 CEST 2004


Has the Select Case structure been altered in Gambas?  I wrote the
following switch:

  SELECT CASE cboAction.Selection
     CASE 0: 
        'Change Status
        BREAK
     CASE 1:
        'Completed
        BREAK
     CASE 2:
        'Move top
        BREAK
     CASE 3:
        'Move up
        BREAK
     CASE 4:
        'Move down
        BREAK
     CASE 5:
        'Move bottom
        BREAK;
  END SELECT

and it keeps giving me "Syntax Error:  End of Line expected." on my Case
0: line.  How do I fix this?





More information about the User mailing list