file% = OPENOUT filename$ PRINT#file%, text$ CLOSE#file%