home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.msdos.batch      Fun with MS-DOS batch files      42,547 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 41,680 of 42,547   
   Kerr-Mudd,John to All   
   Re: how to get the title into task mange   
   24 Sep 18 10:28:08   
   
   XPost: alt.windows7.general   
   From: notsaying@invalid.org   
      
   On Mon, 24 Sep 2018 09:09:23 GMT, Herbert Kleebauer    
   wrote:   
      
   > On 24.09.2018 10:17, Kerr-Mudd,John wrote:   
   >> On Sun, 23 Sep 2018 20:32:43 GMT, "Kerr-Mudd,John"   
   >>  wrote:   
   >   
   >> I wasn't coding well last night   
   >   
   > And also this morning?   
   >   
   > The search terminates at the first space, independent   
   > whether it is in or outside a quoted string.   
   >   
   >>>   
   >>>          mov ah,0         ; inquotes_flag off   
   >>> nextc:   
   >>>          lodsb   
   >>>          cmp al,0         ; null terminates   
   >>>          je havestr   
   >>>          cmp al,'"'   
   >>>          jne notaquote   
   >>             xor ah,1         ; toggle inquotes_flag   
   >>>          jne nextc        ; in string, carry on   
   >>> notaquote:   
   >>>          cmp al,0x20      ; space ends unquoted string   
   >>>          jne nextc   
   >>> havestr:   
   >   
      
   Ah; fair enough. So much for me "improving" your code!   
      
   --   
   Bah, and indeed, Humbug.   
      
   --- 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