Just a sample of the Echomail archive
COMPLANC:
[ << oldest | < older | list | newer > | newest >> ]
|  Message 242,049 of 243,097  |
|  Michael Sanders to Ben Bacarisse  |
|  Re: strspn()  |
|  22 Nov 25 22:03:59  |
 From: porkchop@invalid.foo On Sat, 22 Nov 2025 02:41:11 +0000, Ben Bacarisse wrote: > int i = 0; > while (i < 4 && colorSpec[i] >= '1' && colorSpec[i] <= '8') i++; > int ok = i == 4 && colorSpec[i] == 0; Nice/clean/succinct. -- :wq Mike Sanders --- 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