Спасибо. попробую сама разобраться, если не добью, клятвенно обещаю обратиться ТОЛЬКО к Вам.MOTOCoder писал(а):Приведите фрагмент кода, который не пошел.
Еще раз большое спасибо.
Модераторы: Duncon, Naeel Maqsudov, Игорь Акопян, Хыиуду
Спасибо. попробую сама разобраться, если не добью, клятвенно обещаю обратиться ТОЛЬКО к Вам.MOTOCoder писал(а):Приведите фрагмент кода, который не пошел.
Боюсь, как раз необходимость есть. если бы Вы кратко могли рассказать в чем суть этого закрывания, я бы была благодарна. именно от этого зависит конечная оценка моей курсовой работы. заранее спасибо.Serge_Bliznykov писал(а):Уважаемая, CODE.
Если нужна будет помощь с шифрацией/чтением зашифрованных файлов - милости прошу.
Кстати, если подключить бесплатную библиотечку криптования, то можно закрыть файлик совсем "по взрослому".... Хотя, имхо, в данном случае в этом нет необходимости.
Код: Выделить всё
Type Switch
Syntax {$A+}, {$A-}, {$A1}, {$A2}, {$A4}, or {$A8}
{$ALIGN ON}, {$ALIGN OFF}, {$ALIGN 1}, {$ALIGN 2},
{$ALIGN 4}, or {$ALIGN 8}
Default {$A8}
{$ALIGN 8}
Scope Local
Remarks
The $A directive controls alignment of fields in record types and class structures.
In the {$A1} or {$A-} state, fields are never aligned. All record and class structures are packed.
In the {$A2} state, fields in record types that are declared without the packed modifier
and fields in class structures are aligned on word boundaries.
In the {$A4} state, fields in record types that are declared without the packed modifier
and fields in class structures are aligned on double-word boundaries.
In the {$A8} or {$A+} state, fields in record types that are declared without the packed
modifier and fields in class structures are aligned on quad word boundaries.
Record type field alignment is described in the Object Pascal Language Guide.
See Record types.
Regardless of the state of the $A directive, variables and typed constants are always
aligned for optimal access. In the {$A8} state, execution will be faster.
Код: Выделить всё
AssignFile(F,'C:\...\IO.txt');
Rewrite(F);
Writeln (Namearray.Sname);
Writeln (Namearray.Name);
Writeln (Namearray.Group);
CloseFile(F);