Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.bbs.mystic    |    Mystic Sysops are mystical nerds...    |    11,842 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 10,970 of 11,842    |
|    g00r00 to All    |
|    Re: MPL MENUCMD with 'GO'    |
|    11 Jul 22 16:06:32    |
   
   From: nospam.g00r00@f215.n129.z1.fidonet.org   
      
    LW> Hi All,   
    LW>   
    LW> Quick question regarding the MENUCMD command in MPL:   
    LW>   
    LW> If I use this command in order to goto (rather than gosub) a menu, can I   
    LW> assume that Mystic will automatically destroy the context in which the   
    LW> script is running?   
      
   Mystic will not switch menus until you exit the script on your own.   
      
   So if you have a simple MPL like:   
      
   Begin   
    MenuCmd ('GO', 'main');   
    WriteLn ('Hello! |PA');   
   End.   
      
   Mystic *will* honor the GO command, but it will not take you to the main.mnu   
   until after the script, so you'll see the Hello and the screen pause then it   
   will load main after exiting.   
      
   ... Shortcut: longest distance between two points   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca