![]() |
Перевод ошибки
Может не в тему, но.. Используется программа, для работы с электронной почтой в системе REX400. Стала вылетать ошибка Run-time error '52'. Найдено описание ошибки-помогите с переводом:
Bad file name or number (Error 52) A statement refers to a file with a file number or file name that is: An invalid name or number Not specified in the Open statement Specified in an Open statement, but has since been closed Out of the range of file numbers (1-511) In Microsoft Windows, use the following conventions for naming files and directories: The name of a file or directory can have two parts: a name and an optional extension. The two parts are separated by a period, for example, Myfile.new. The name can contain up to eight characters, and the extension can contain up to three characters. The name must start with either a letter or number. It can contain any uppercase or lowercase (file names are not case-sensitive) characters except the following: Character Description ---------------------------------- . Period " Quotation mark ' Single quotation mark (apostrophe) + Plus sign / Slash \ Backslash [ ] Brackets : Colon ; Semicolon | Vertical bar (pipe) = Equal sign , Comma The name should not contain any spaces. The following names are reserved and can't be used for files or directories: CON, AUX, COM1, COM2, COM3, COM4, LPT1, LPT2, LPT3, PRN, and NUL. For instance, if you try to name a file PRN in an Open statement, the default printer will simply become the destination for Print #, and Write # statements directed to the file number specified in the Open statement. The following are examples of valid Microsoft Windows file names: LETTER.DOC MEMO.TXT BUDGET.92 12345678.901 2NDTRY.RPT On the Macintosh, a file can have any character except the colon (, and may contain spaces. Null characters [Chr(0)] are not allowed in any file names. |
Не корректное имя или номер.
Существующая ссылка на номер или имя файла : 1. Неверное имя или номер файла 2 Не определена операция Открыть 3 Определена операция Открыть но с тех пор файл был закрыт 4. Превышает диапазон количества (повидимому макимального количества открытых) файлов. (или превышает диапазон максимального количества открытых файлов) А далее следует рассказ какие символы не допустимы в именах файлов и примеры допустимых имен. Кроме того категорически не рекомендуется использовать в именах файлов пробелы а так же файлы с именами CON, AUX, COM1, COM2, COM3, COM4, LPT1, LPT2, LPT3, PRN, and NUL. Проблема скорее всего связана с наличием в имени файлов пробела, если естественно соблюдены 4 указанных выше условия. |
| Часовой пояс GMT +4, время: 18:56. |
Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.