Check that file exists: Difference between revisions

No edit summary
(→‎{{header|SmallTalk}}: sp; formatting)
Line 136:
'/docs' isdir if '/docs exists and is a directory' print
 
=={{header|SmallTalkSmalltalk}}==
 
"Smalltalk has no notion of 'current directory' because Smalltalk isn't tied to the shell that created it."
 
FileDirectory new fileExists: 'c:\serial'.
Anonymous user