Exception handling syntax: Difference between revisions

Content deleted Content added
m accomodate -> accommodate
Alksub (talk | contribs)
Line 2:
 
== Catalogue of exception handling syntaxes ==
 
=== [[BASIC]] ===
ON ERROR GOTO handler
OPEN "Somefile.txt" FOR INPUT AS #1
CLOSE #1
PRINT "File opened successfully"
END
handler:
PRINT "File does not exist"
END
 
=== [[Csharp|C#]] ===