• ¡Welcome to Square Theme!
  • This news are in header template.
  • Please ignore this message.
مهمان عزیز خوش‌آمدید. ورود عضــویت


امتیاز موضوع:
  • 13 رای - 3.69 میانگین
  • 1
  • 2
  • 3
  • 4
  • 5
Title: معرفی چند تابع در دلفی
حالت موضوعی
#1
کد:
Procedure   Append   Open a text file to allow appending of text to the end
Procedure   Assign   Assigns a file handle to a binary or text file
Procedure   AssignFile   Assigns a file handle to a binary or text file
Procedure   AssignPrn   Treats the printer as a text file - an easy way of printing text
Procedure   BlockRead   Reads a block of data records from an untyped binary file
Procedure   BlockWrite   Writes a block of data records to an untyped binary file
Function   ChangeFileExt   Change the extension part of a file name
Procedure   ChDir   Change the working drive plus path for a specified drive
Procedure   Close   Closes an open file
Procedure   CloseFile   Closes an open file
Function   CreateDir   Create a directory
Function   DateTimeToFileDate   Convert a TDateTime value to a File date/time format
Function   DeleteFile   Delete a file specified by its file name
Function   DirectoryExists   Returns true if the given directory exists
Function   DiskFree   Gives the number of free bytes on a specified drive
Function   DiskSize   Gives the size in bytes of a specified drive
Function   Eof   Returns true if a file opened with Reset is at the end
Function   Eoln   Returns true if the current text file is pointing at a line end
Procedure   Erase   Erase a file
Function   ExtractFileDir   Extracts the dir part of a full file name
Function   ExtractFileDrive   Extracts the drive part of a full file name
Function   ExtractFileExt   Extracts the extension part of a full file name
Function   ExtractFileName   Extracts the name part of a full file name
Function   ExtractFilePath   Extracts the path part of a full file name
Function   FileAge   Get the last modified date/time of a file without opening it
Function   FileDateToDateTime   Converts a file date/time format to a TDateTime value
Function   FileExists   Returns true if the given file exists
Function   FileGetAttr   Gets the attributes of a file
Variable   FileMode   Defines how Reset opens a binary file
Function   FilePos   Gives the file position in a binary or text file
Function   FileSearch   Search for a file in one or more directories
Function   FileSetAttr   Sets the attributes of a file
Function   FileSetDate   Set the last modified date and time of a file
Function   FileSize   Gives the size in records of an open file
Function   FindClose   Closes a successful FindFirst file search
Function   FindFirst   Finds all files matching a file mask and attributes
Function   FindNext   Find the next file after a successful FindFirst
Procedure   Flush   Flushes buffered text file data to the file
Function   ForceDirectories   Create a new path of directories
Function   GetCurrentDir   Get the current directory (drive plus directory)
Procedure   GetDir   Get the default directory (drive plus path) for a specified drive
Variable   Input   Defines the standard input text file
Function   IOResult   Holds the return code of the last I/O operation
Procedure   MkDir   Make a directory
Variable   Output   Defines the standard output text file
Procedure   ProcessPath   Split a drive/path/filename string into its constituent parts
Function   PromptForFileName   Shows a dialog allowing the user to select a file
Procedure   Read   Read data from a binary or text file
Procedure   ReadLn   Read a complete line of data from a text file
Function   RemoveDir   Remove a directory
Procedure   Rename   Rename a file
Function   RenameFile   Rename a file or directory
Procedure   Reset   Open a text file for reading, or binary file for read/write
Procedure   ReWrite   Open a text or binary file for write access
Procedure   RmDir   Remove a directory
Procedure   Seek   Move the pointer in a binary file to a new record position
Function   SeekEof   Skip to the end of the current line or file
Function   SeekEoln   Skip to the end of the current line or file
Function   SelectDirectory   Display a dialog to allow user selection of a directory
Function   SetCurrentDir   Change the current directory
Type   Text   Defines a file as a text file
Type   TextFile   Declares a file type for storing lines of text
Type   TOpenDialog   Displays a file selection dialog
Type   TPrintDialog   Class that creates a printer selection and control dialog
Procedure   Truncate   Truncates a file size - removes all data after the current position
Type   TSaveDialog   Displays a dialog for selecting a save file name
Type   TSearchRec   Record used to hold data for FindFirst and FindNext
Type   TStringList   Holds a variable length list of strings
Procedure   Write   Write data to a binary or text file
Procedure   WriteLn   Write a complete line of data to a text file
منبع :
http://www.delphibasics.co.uk/ByFunction.asp?Main=Files
گروه دور همی پارسی کدرز
https://t.me/joinchat/GxVRww3ykLynHFsdCvb7eg
 
پاسخ
  


موضوعات مشابه ...
موضوع نویسنده پاسخ بازدید آخرین ارسال
  سورس کد انتقال فایل به سطل اشغال ( دلفی) Amin_Mansouri 1 5,457 10-08-2022، 06:21 PM
آخرین ارسال: sonusood
  سورس بدست اوردن کلیپ برد ( دلفی ) Amin_Mansouri 1 7,401 10-08-2022، 05:49 PM
آخرین ارسال: sonusood
  دلفی و تلگرام h_mohamadi 2 4,614 04-24-2017، 12:14 AM
آخرین ارسال: shilanaseri
  رسم نمودار در اکسل از طریق دلفی Saeed7007 1 6,392 08-14-2014، 06:11 PM
آخرین ارسال: Amin_Mansouri
  سورس کد بدست اوردن اطلاعات هارد دیسک (دلفی) Amin_Mansouri 1 8,368 07-30-2014، 05:45 PM
آخرین ارسال: dehqan_mehdi
  ۳۵۰ سورس کد دلفی (دلفی رو از ابتدا تا حرفه ای شدن یاد بگیرید) Amin_Mansouri 11 31,358 01-31-2014، 04:27 PM
آخرین ارسال: Amin_Mansouri
  بارگذاری و یا نمایش تصویر فرمت jpg (دلفی) Amin_Mansouri 2 10,431 08-23-2013، 10:06 PM
آخرین ارسال: mo_coders
  بدست اوردن لیست درایورهای موجود بر روی سیستم توسط API (دلفی) Amin_Mansouri 0 4,780 08-17-2013، 09:56 AM
آخرین ارسال: Amin_Mansouri
  دانلود سورس کد استفاده از نقشه گوگل در دلفی Amin_Mansouri 0 6,738 08-17-2013، 09:44 AM
آخرین ارسال: Amin_Mansouri
  سورس کد شناسایی مرورگرهای نصب شده بر روی سیستم عامل (دلفی) Amin_Mansouri 0 4,985 08-17-2013، 09:35 AM
آخرین ارسال: Amin_Mansouri

پرش به انجمن:


Browsing: 1 مهمان