[comp.lang.pascal] Dos4to5 unit

abcscnuk@csuna.csun.edu (Naoto Kimura) (07/30/89)

In article <1989Jul29.011656.280@ddsw1.MCS.COM> andyross@ddsw1.MCS.COM (Andrew Rossmann) writes:
] ... (text deleted) ...
]
]  Not EVERYONE puts COMMAND.COM in the root directory. Many people prefer
]to have it elsewhere. The above will only work under TP 5 and 5.5. The
]GetEnv function was not in TP3 or  4.
]
]  andyross@ddsw1.MCS.COM

Anybody interested in a unit that I put together that implements the the
stuff in Dos unit with TP 5.0 that are unavailable in the Dos unit with
TP 4.0 ?  At present I don't have the same stuff for 3.0, but it
shouldn't be too hard to implement them.  If I do get them working for
3.0, anybody interested ?

BTW, I should warn some people that my implementation of FSplit doesn't
behave the same way that the TP 5.0 version does.  Mine treats the
forward-slash ('/') the same way that it treats the backward-slash ('\')
character and doesn't change them.  The TP 5.0 version will cause a
backward-slash to appear after each occurrance of a forward-slash
character.  I didn't discover this until I noticed that a program using
the FSplit function worked when compiled under TP 4.0 but not under TP
5.0.  I don't know if the same thing happens in TP 5.5.

                //-n-\\			 Naoto Kimura
        _____---=======---_____		 (abcscnuk@csuna.csun.edu)
    ====____\   /.. ..\   /____====
  //         ---\__O__/---         \\	Enterprise... Surrender or we'll
  \_\                             /_/	send back your *&^$% tribbles !!