OPEN test-file.txt MODE w PRINT test FILE test-file.txt CLOSE test-file.txt