fileIo gotcha


[ Zettels Traum ] [ search / suche ]

von dp am 28.Juli 97 um 00:25:52:


The getOSDirectory() method is a global handler which you can use in
lingo without creating a child object. e.g.:

set systemPath = getOSDirectory()

One gotcha is that on the Mac the method returns a string with a path
delimiter at the end whereas the PC doesn't. e.g.:

put getOSDirectory()
-- "Macintosh HD:System Folder:"

put getOSDirectory()
-- "C:\WINDOWS"





Dazu:























D. Plänitz