author: Tomasz Biela (Tebe)
http://www.freepascal.org/docs-html/rtl/sysutils/index-5.html
name: | value: | description: |
---|---|---|
faReadOnly | $01 | |
faHidden | $02 | |
faSysFile | $04 | |
faVolumeID | $08 | |
faDirectory | $10 | |
faArchive | $20 | |
faAnyFile | $3f |
name: | type: | description: |
---|---|---|
TSearchRec | record
end; |
name: | description: |
---|---|
Beep | procedure Beep;Sound the system bell |
Click | procedure Click ; assembler;Sound the system click |
GetTickCount | function GetTickCount: cardinal; assembler;Get tick count
returns: |
FindFirst | function FindFirst (const FileMask: TString; Attributes: Byte; var SearchResult: TSearchRec): byte;Start a file search and return a findhandle
parameters:returns: |
FindNext | function FindNext(var f: TSearchRec): byte; assembler;Find the next entry in a findhandle
parameters:returns: |
FindClose | procedure FindClose(var f: TSearchRec); assembler;Close a find handle
parameters: |
RenameFile | function RenameFile(var OldName,NewName: TString): Boolean; assembler;Renames a file from OldName to NewName
parameters:returns: |
DeleteFile | function DeleteFile(var FileName: TString): Boolean; assembler;Delete a file from the filesystem
parameters:returns: |
FileExists | function FileExists(name: TString): Boolean;Check whether a particular file exists in the filesystem
parameters:returns: |
IntToStr | function IntToStr(a: integer): ^string; assembler;Convert an integer value to a decimal string
parameters:returns: |
StrToInt | function StrToInt(const s: char): byte; assembler; overload;Convert a char to an byte value
parameters:returns: |
StrToInt | function StrToInt(const s: TString): integer; assembler; overload;Convert a string to an integer value
parameters:returns: |
IntToHex | function IntToHex(Value: cardinal; Digits: byte): TString; register; assembler;Convert an integer value to a hexadecimal string
parameters:returns: |
StrToFloat | function StrToFloat(var s: TString): real;Convert a string to a floating-point value
parameters:returns: |
ExtractFileExt | function ExtractFileExt(const a: string): TString;Return the extension from a filename
parameters:returns: |
ExtractFilePath | function ExtractFilePath(const a: string): string;Extract the path from a filename
parameters:returns: |
AnsiUpperCase | function AnsiUpperCase(const a: string): string;Return an uppercase version of a string
parameters:returns: |
Now | function Now: TDateTime;Read actual Date-Time (Sparta DOS X, R-Time 8, SIO Real-Time Clock)
returns: |
Date | function Date: TDateTime;Read actual Date
returns: |
DateToStr | function DateToStr(d: TDateTime): TString;Converts a TDateTime value to a date string.
parameters:returns: |
TimeToStr | function TimeToStr(d: TDateTime): TString;Converts a TDateTime value to a time string.
parameters:returns: |
DecodeDate | procedure DecodeDate(d: TDateTime; var yy,mm,dd: byte);Decode a TDateTime to a year,month,day triplet
parameters: |
DecodeTime | procedure DecodeTime(d: TDateTime; var h,m,s: byte);Decode a TDateTime to a hour,minute,second triplet
parameters: |
DecodeDateTime | procedure DecodeDateTime(d: TDateTime; var yy,mm,dd,h,m,s: byte);Decode a TDateTime to a year,month,day, hour,minute,second
parameters: |
BoolToStr | function BoolToStr(B: Boolean; UseBoolStrs: Boolean): TString;BoolToStr converts the boolean B to one of the strings 'TRUE' or 'FALSE'
parameters:returns: |
StrToBool | function StrToBool(const S: TString): Boolean;StrToBool will convert the string S to a boolean value. The string S can contain one of 'True', 'False' (case is ignored) or a numerical value. If it contains a numerical value, 0 is converted to False, all other values result in True.
parameters:returns: |
IsLeapYear | function IsLeapYear(Year: Word): boolean;IsLeapYear returns True if Year is a leap year, False otherwise.
parameters:returns: |
EncodeDate | function EncodeDate(Year, Month, Day: Byte): TDateTime;EncodeDate encodes the Year, Month and Day variables to a date in TDateTime format. It does the opposite of the DecodeDate procedure.
parameters:returns: |
EncodeTime | function EncodeTime(Hour, Minute, Second: Byte): TDateTime;EncodeTime encodes the Hour, Minute and Second variables to a date in TDateTime format. It does the opposite of the DecodeTime procedure.
parameters:returns: |
EncodeDateTime | function EncodeDateTime(Year, Month, Day, Hour, Minute, Second: Byte): TDateTime;EncodeDateTime encodes the values Year, Month, Day, Hour, Minute and Second to a date/time valueand returns this value.
parameters:returns: |