Delphi Language Guide Delphi for Microsoft Win32 Delphi for the Microsoft. Net framework



Yüklə 0,84 Mb.
Pdf görüntüsü
səhifə203/294
tarix02.01.2022
ölçüsü0,84 Mb.
#41395
1   ...   199   200   201   202   203   204   205   206   ...   294
DelphiLanguageGuide

The Close function
The Close function is called by the CloseFile standard procedure to close a text file associated with a device. (The
Reset, Rewrite, and Append procedures also call Close if the file they are opening is already open.) If Mode is
fmOutput, then before calling Close, the file system calls the InOut function to ensure that all characters have been
written to the device.
173


Handling null-Terminated Strings
The Delphi language's extended syntax allows the Read, Readln, Str, and Val standard procedures to be applied to
zero-based character arrays, and allows the Write, Writeln, Val, AssignFile, and Rename standard procedures to
be applied to both zero-based character arrays and character pointers.
Null-Terminated String Functions
The following functions are provided for handling null-terminated strings.

Yüklə 0,84 Mb.

Dostları ilə paylaş:
1   ...   199   200   201   202   203   204   205   206   ...   294




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©azkurs.org 2024
rəhbərliyinə müraciət

gir | qeydiyyatdan keç
    Ana səhifə


yükləyin