_FILE_f_flags = $01
_FILE_size = $02
-; Flags field
+; Flags field
_FCLOSED = $00
_FOPEN = $01
_FEOF = $02
_FERROR = $04
_FPUSHBACK = $08
-
-; Maximum number of open files (size of table)
-FOPEN_MAX = 8
; File table
.global __filetab
BUFSIZ = 256
EOF = -1
FILENAME_MAX = 16
-FOPEN_MAX = 8
L_tmpnam = (FILENAME_MAX + 1)
SEEK_CUR = 0
SEEK_END = 1
SEEK_SET = 2
TMP_MAX = 256
+; Maximum number of open files (size of the file table)
+FOPEN_MAX = 8
+
;----------------------------------------------------------------------------
; External variables