Check that file exists: Difference between revisions

Content added Content deleted
m (omits at end, use omit reason)
Line 851: Line 851:
Console.WriteLine(If(IO.Directory.Exists(IO.Path.DirectorySeparatorChar & "output.txt"), _
Console.WriteLine(If(IO.Directory.Exists(IO.Path.DirectorySeparatorChar & "output.txt"), _
"file exists", "file doesn't exists"))</lang>
"file exists", "file doesn't exists"))</lang>

{{omit from|TI-83 BASIC}} {{omit from|TI-89 BASIC}} <!-- Does not have a filesystem, just namespaced variables. -->
{{omit from|Befunge}} <!-- No filesystem support -->



=={{header|VBScript}}==
=={{header|VBScript}}==
Line 883: Line 879:
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
</lang>
</lang>

{{omit from|TI-83 BASIC|Does not have a filesystem, just namespaced variables.}}
{{omit from|TI-89 BASIC|Does not have a filesystem, just namespaced variables.}}
{{omit from|Befunge|No filesystem support}}