Offipalsta.COM

Offipalsta.COM (https://forums.offipalsta.com/index.php)
-   Other programming languages (https://forums.offipalsta.com/forumdisplay.php?f=148)
-   -   MS-DOSsin sorsasta löytynyt hauska kommentti (https://forums.offipalsta.com/showthread.php?t=1918)

15.11.2003 04:45

MS-DOSsin sorsasta löytynyt hauska kommentti
 
Microsoftin MS-DOS käyttöjärjestelmän version 6.0 lähdekoodista löytyy hauska kommentti:

/* BOOL fnEditPath(char *ExistingPath);
*
* Function will add the szSetupPath to the users path statement in the
* autoexec.bat file. The szSetupPath will be the first location in the
* path statement. The path can be in about a million fucked up forms
* depending on the level of stupidity in the user. Here are a few to
* think about. DOS will accept any of these.
*
* PATH=C:\foo;C:\foobar;...
* SET PATH=C:\foo;C:\foobar;...
* PATH C:\foo;C:\foobar;...
* PATH =C:\foo;C:\foobar;...
* PATH= C:\foo;C:\foobar;...
* PATH = C:\foo;C:\foobar;...
*
* ENTRY: ExistingPath - near buffer containing the path statement to be
* edited.
*
* EXIT: BOOL, TRUE = Path succesfully modified.
* FALSE = Path was too long after modification (path >= 128).
*
*/

Note! This message was posted anonymously!

petris 17.11.2003 14:09

HEH.

Kuullostaa tutulta.

**********************
petris - isä ja elämän tuomari
**********************


Sivu luotu: 15:37 (GMT +2).