Of course:
If Dir(file) <> "" Then '<- Compile error. Class: 'declara' line: 290. Function or variable not defined!
(Jabaco highlights the "Dir" word )
Close #1 ' <- Compile error. Class: 'declara' line: 360. Function or variable not defined!
(Jabaco highlights "#1")
Open file For output as #1 ' <- Compile error. Class: 'declara' line: 361. Expected: End of statement
(Jabaco highlights the "For" word )
Thank you.