Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.atnf.csiro.au/computing/software/miriad/progguide/node13.html
Дата изменения: Unknown Дата индексирования: Tue Feb 5 09:22:47 2013 Кодировка: Поисковые слова: ngc 5128 |
subroutine output(text) subroutine txtopen(handle,name,status,iostat) subroutine txtread(handle,text,length,iostat) subroutine txtwrite(handle,text,length,iostat) subroutine txtclose(handle)Output prints text (a character string) on the users terminal.
Txtopen opens a text file (passing back a handle) with name name. Status can be either 'old' or 'new'. When opening a new file, any old files which exist with the same name may be deleted. Txtread and txtwrite read and write a character string, text, of length characters. Length is passed back from txtread, whereas it is passed into txtwrite. It may be zero in either case. All these routines return an i/o status variable, iostat.
Txtclose closes the file.