Prova così
codice:
open nomefile for append as #1