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,678 of 42,547   
   Herbert Kleebauer to John   
   Re: how to get the title into task mange   
   24 Sep 18 11:09:23   
   
   XPost: alt.windows7.general   
   From: klee@unibwm.de   
      
   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:   
      
   --- 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