Anonymous user
Check that file exists: Difference between revisions
→{{header|PARI/GP}}
m (→{{header|PARI/GP}}: Added language to template) |
|||
Line 944:
=={{header|PARI/GP}}==
<lang parigp>trap(,"does not exist",read("input.txt");"exists")
trap(,"does not exist",read("c:\\dirname\\nul");"exists")</lang>
A better version would use <code>externstr</code>.
|