import end # Mark this module is a top level one. (must be only one)
+`{
+#include <errno.h>
+`}
+
###############################################################################
# System Classes #
###############################################################################
class Sys
# Instructions outside classes implicitly redefine this method.
fun main do end
+
+ # Number of the last error
+ fun errno: Int is extern `{
+ return errno;
+ `}
end
###############################################################################