Menu

RE: [gcbasic:discussion] Re: A Release Candidate: Great Cow BASIC v.0.98.00

joe rocci
2017-09-13
2017-09-14
  • joe rocci

    joe rocci - 2017-09-13

    Considering he mentioned improved Select Case functionality, I thought is was a good time to ask what that functionality included.

    -------- Original message --------
    From: Chris Roper caroper@users.sf.net
    Date: 09/13/2017 4:27 PM (GMT-05:00)
    To: "[gcbasic:discussion]" 579125@discussion.gcbasic.p.re.sf.net
    Subject: [gcbasic:discussion] Re: A Release Candidate: Great Cow BASIC v.0.98.00

    I think this is the wrong place to discuss it but I think what you are asking for is a very good idea.

    Boolian values would allow powerful tests such as Somthing like:

    CASE (VarA == VarB)
    or
    CASE (MyChar == 'Y" OR 'y')
    or
    Case MyVar > 100 AND < 200
    If Evan agrees we should open a thred to discuss it further.
    Cheers

    Chris

    A Release Candidate: Great Cow BASIC v.0.98.00

    Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/gcbasic/discussion/579125/
    To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

     
  • Anobium

    Anobium - 2017-09-14

    This was in the original ask.

    Does the Select Case functionality accept non-numeric Case values (eg, strings)? How about Boolean values? The latter would allow a code work-around to specify string cases, as is sometimes done in C

    I think this is the wrong place to discuss it but I think what you are asking for is a very good idea.
    Boolian values would allow powerful tests such as Somthing like:
    CASE (VarA == VarB)
    or
    CASE (MyChar == 'Y" OR 'y')
    or
    Case MyVar > 100 AND < 200

     

Log in to post a comment.