• GR + GS Menu Commands

    From Kevin Miller@1:267/585.1 to All on Sunday, April 12, 2020 16:16:00
    Can someone give me do 10k' version of how to use these menu commands?

    GR - Gosub Return Menu
    GS - Gosub Menu

    I've been curious about usecases where these commands would be relevant.

    Thx,

    -km
    Salutations from Rochester, NY - (SysOp KnightMare)

    --- OpenXP 5.0.42
    * Origin: Point KnightMare, Rochester, NY (1:267/585.1)
  • From g00r00@1:129/215 to Kevin Miller on Sunday, April 12, 2020 17:44:54
    Can someone give me do 10k' version of how to use these menu commands?

    GR - Gosub Return Menu
    GS - Gosub Menu

    I've been curious about usecases where these commands would be relevant.

    A use case might be say Account Settings.

    If you want to have that option available on all or many menus, you can "GOSUB account" menu from wherever you want it, and then the "Quit" option on the Account Settings menu would be "GOSUB RETURN". This means that it would always take the user back to the menu they were on when they selected account settings.

    Since its also possible to have "global" commands that work from all or
    a subset of menus, that would be one place where this could come in really handy.

    --- Mystic BBS v1.12 A46 2020/04/11 (Windows/64)
    * Origin: Sector 7 (1:129/215)
  • From Kevin Miller@1:267/585.1 to g00r00 on Sunday, April 12, 2020 20:11:00
    Thx g00r00...

    This was helpful!

    -km

    ** 12.04.20 - 17:44, g00r00 wrote to Kevin Miller:

    GR - Gosub Return Menu
    GS - Gosub Menu

    I've been curious about usecases where these commands would be relevant.

    A use case might be say Account Settings.

    If you want to have that option available on all or many menus, you can "GOSUB account" menu from wherever you want it, and then the "Quit" option
    on the Account Settings menu would be "GOSUB RETURN". This means that it would always take the user back to the menu they were on when they selected account settings.

    Since its also possible to have "global" commands that work from all or
    a subset of menus, that would be one place where this could come in really handy.
    Salutations from Rochester, NY - (SysOp KnightMare)

    --- OpenXP 5.0.42
    * Origin: Point KnightMare, Rochester, NY (1:267/585.1)
  • From Micheal Pierce@1:340/201 to Kevin Miller on Sunday, April 12, 2020 16:46:28
    Hello Kevin!

    12 Apr 20 16:16, you wrote to all:

    Can someone give me do 10k' version of how to use these menu commands?

    GR - Gosub Return Menu
    GS - Gosub Menu

    lets say you want to have "chat" available from all or some of your menus rather than create several versions of "chat" (1 for each place you would want that menu to run), just create 1 menu with exit being gosub return

    in each of the other menus where you wish to call your "chat", you would use "gosub chat"

    hope that helps,
    Micheal

    ... Drive A: format failed, formatting C: instead.
    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: Mike's Mansion - Portland, OR - mansion.dynv6.net:2323 (1:340/201)
  • From Richard Miles@1:3634/24 to Kevin Miller on Tuesday, April 14, 2020 07:37:28
    On 12 Apr 2020, Kevin Miller said the following...

    Can someone give me do 10k' version of how to use these menu commands?

    GR - Gosub Return Menu
    GS - Gosub Menu

    I have nested menus under my doors menu. I suppose I could hard code those
    but I also use a couple of different themes. Using gosub allows them to be interchangeable.

    Also my goodbye menu and sysop menu are accessible globally for the most
    part and both are accessed using gosub. If I am on a menu and want to edit something, I would like to be able to return to where I was when finished.
    Same with the goodbye menu, on the off chance that I change my mind about logging off, would like to return to where I was.

    -=>Richard Miles<=-
    -=>Captain Obvious<=-
    -=>bbs.shadowscope.com<=-

    --- Mystic BBS v1.12 A46 2020/03/12 (Windows/32)
    * Origin: Shadowscope BBS | bbs.shadowscope.com | Temple, GA (1:3634/24)