Groups | Search | Server Info | Login | Register


Groups > comp.sys.apple2.programmer > #6296

Re: Compiler Brain Dump - Your Chance to Tell Me How Wrong I am - Haha

From Bill Chatfield <bill_chatfield@yahoo.com>
Newsgroups comp.sys.apple2.programmer
Subject Re: Compiler Brain Dump - Your Chance to Tell Me How Wrong I am - Haha
Date 2023-12-31 11:37 -0500
Organization A noiseless patient Spider
Message-ID <20231231113749.59aed3d3@smilodon-gracilis> (permalink)
References <20231226114951.65d00993@smilodon-gracilis> <6563cfc4-a4d3-43ab-b468-ee9d98dc3f4fn@googlegroups.com>

Show all headers | View raw


On Sat, 30 Dec 2023 11:15:01 -0800 (PST)
I am Rob <gids.rs@sasktel.net> wrote:

> 10 GET CHOICE
> 15 ON CHOICE GOSUB 100,200,300
> 20 GOTO 10
> 
> 100 DOTHIS : RETURN
> 200 DOTHAT : RETURN
> 300 DOMORE : RETURN

I like this. But it limits you to menus like this:

1. New
2. Open
3. Save

Instead of

N)ew
O)pen
S)ave

Because ON/GOSUB only takes an integer for "CHOICE". But I suppose that
is not terrible.


Back to comp.sys.apple2.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Compiler Brain Dump - Your Chance to Tell Me How Wrong I am - Haha Bill Chatfield <bill_chatfield@yahoo.com> - 2023-12-26 11:49 -0500
  Re: Compiler Brain Dump - Your Chance to Tell Me How Wrong I am - Haha Brian Patrie <bpatrie@bellsouth.spamisicky.net> - 2023-12-27 05:35 -0600
    Re: Compiler Brain Dump - Your Chance to Tell Me How Wrong I am - Haha Bill Chatfield <bill_chatfield@yahoo.com> - 2023-12-27 11:24 -0500
  Re: Compiler Brain Dump - Your Chance to Tell Me How Wrong I am - Haha I am Rob <gids.rs@sasktel.net> - 2023-12-30 11:15 -0800
    Re: Compiler Brain Dump - Your Chance to Tell Me How Wrong I am - Haha Bill Chatfield <bill_chatfield@yahoo.com> - 2023-12-31 11:37 -0500
      Re: Compiler Brain Dump - Your Chance to Tell Me How Wrong I am - Haha I am Rob <gids.rs@sasktel.net> - 2023-12-31 13:17 -0800
        Re: Compiler Brain Dump - Your Chance to Tell Me How Wrong I am - Haha fadden <fadden@fadden.com> - 2024-01-01 07:42 -0800
          Re: Compiler Brain Dump - Your Chance to Tell Me How Wrong I am - Haha I am Rob <gids.rs@sasktel.net> - 2024-01-01 13:07 -0800

csiph-web