Difference between revisions of "Category:Functions"
(Created page with "Category:ScriptCore3") |
|||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | [[Category: | + | * procedure [[ScriptCore3.WriteLn|WriteLn]](Text: string) |
+ | * function [[ScriptCore3.StrToInt|StrToInt]](Text: String): Integer | ||
+ | * function [[ScriptCore3.iif|iif]](Condition: Boolean; IfTrue, IfFalse: Variant): Variant | ||
+ | * function [[ScriptCore3.Random|Random]](Min, Max: Integer): Integer | ||
+ | * function [[ScriptCore3.RGB|RGB]](R, G, B: Byte): LongWord | ||
+ | * function [[ScriptCore3.ExecRegExpr|ExecRegExpr]](const ARegExpr, AInputStr: string): boolean | ||
+ | * procedure [[ScriptCore3.SplitRegExpr|SplitRegExpr]](const ARegExpr, AInputStr: string; APieces: TStrings) | ||
+ | * function [[ScriptCore3.ReplaceRegExpr|ReplaceRegExpr]](const ARegExpr, AInputStr, AReplaceStr: string; AUseSubstitution: boolean): string | ||
+ | * function[[ScriptCore3.QuoteRegExprMetaChars|QuoteRegExprMetaChars]](const AStr: string): string | ||
+ | * function [[ScriptCore3.RegExprSubExpressions|RegExprSubExpressions]](const ARegExpr: string; ASubExprs : TStrings; AExtendedSyntax: boolean): integer | ||
+ | * function [[ScriptCore3.EncodeDate|EncodeDate]](Year, Month, Day: Word): [[TDateTime]] | ||
+ | * function [[ScriptCore3.EncodeTime|EncodeTime]](Hour, Min, Sec, MSec: Word): [[TDateTime]] | ||
+ | * function [[ScriptCore3.TryEncodeDate|TryEncodeDate]](Year, Month, Day: Word; var Date: [[TDateTime]]): Boolean | ||
+ | * function [[ScriptCore3.TryEncodeTime|TryEncodeTime]](Hour, Min, Sec, MSec: Word; var Time: [[TDateTime]]): Boolean | ||
+ | * procedure [[ScriptCore3.DecodeDate|DecodeDate]](const DateTime: [[TDateTime]]; var Year, Month, Day: Word) | ||
+ | * procedure [[ScriptCore3.DecodeTime|DecodeTime]](const DateTime: [[TDateTime]]; var Hour, Min, Sec, MSec: Word) | ||
+ | * function [[ScriptCore3.DayOfWeek|DayOfWeek]](const DateTime: [[TDateTime]]): Word | ||
+ | * function [[ScriptCore3.Date|Date]]: [[TDateTime]] | ||
+ | * function [[ScriptCore3.Time|Time]]: [[TDateTime]] | ||
+ | * function [[ScriptCore3.Now|Now]]: [[TDateTime]] | ||
+ | * function [[ScriptCore3.DateTimeToUnix|DateTimeToUnix]](D: [[TDateTime]]): Int64 | ||
+ | * function [[ScriptCore3.UnixToDateTime|UnixToDateTime]](U: Int64): [[TDateTime]] | ||
+ | * function [[ScriptCore3.DateToStr|DateToStr]](D: [[TDateTime]]): String | ||
+ | * function [[ScriptCore3.StrToDate|StrToDate]](const s: String): [[TDateTime]] | ||
+ | * function [[ScriptCore3.FormatDateTime|FormatDateTime]](const fmt: String; D: [[TDateTime]]): String | ||
+ | * procedure [[ScriptCore3.UnloadDll|UnloadDll]](s: string) | ||
+ | * function [[ScriptCore3.DLLGetLastError|DLLGetLastError]]: Longint | ||
+ | * function [[ScriptCore3.Distance|Distance]](X1, Y1, X2, Y2: Single): Single | ||
+ | * function [[ScriptCore3.menu2obj|menu2obj]](Style: Byte): Byte | ||
+ | * function [[ScriptCore3.menu2weap|menu2weap]](Style: Byte): Byte | ||
+ | * function [[ScriptCore3.obj2menu|obj2menu]](Style: Byte): Byte | ||
+ | * function [[ScriptCore3.obj2weap|obj2weap]](Style: Byte): Byte | ||
+ | * function [[ScriptCore3.weap2menu|weap2menu]](Style: Byte): Byte | ||
+ | * function [[ScriptCore3.weap2obj|weap2obj]](Style: Byte): Byte | ||
+ | |||
+ | |||
+ | [[Category:ScriptCore 3]] |
Latest revision as of 12:10, 1 May 2018
- procedure WriteLn(Text: string)
- function StrToInt(Text: String): Integer
- function iif(Condition: Boolean; IfTrue, IfFalse: Variant): Variant
- function Random(Min, Max: Integer): Integer
- function RGB(R, G, B: Byte): LongWord
- function ExecRegExpr(const ARegExpr, AInputStr: string): boolean
- procedure SplitRegExpr(const ARegExpr, AInputStr: string; APieces: TStrings)
- function ReplaceRegExpr(const ARegExpr, AInputStr, AReplaceStr: string; AUseSubstitution: boolean): string
- functionQuoteRegExprMetaChars(const AStr: string): string
- function RegExprSubExpressions(const ARegExpr: string; ASubExprs : TStrings; AExtendedSyntax: boolean): integer
- function EncodeDate(Year, Month, Day: Word): TDateTime
- function EncodeTime(Hour, Min, Sec, MSec: Word): TDateTime
- function TryEncodeDate(Year, Month, Day: Word; var Date: TDateTime): Boolean
- function TryEncodeTime(Hour, Min, Sec, MSec: Word; var Time: TDateTime): Boolean
- procedure DecodeDate(const DateTime: TDateTime; var Year, Month, Day: Word)
- procedure DecodeTime(const DateTime: TDateTime; var Hour, Min, Sec, MSec: Word)
- function DayOfWeek(const DateTime: TDateTime): Word
- function Date: TDateTime
- function Time: TDateTime
- function Now: TDateTime
- function DateTimeToUnix(D: TDateTime): Int64
- function UnixToDateTime(U: Int64): TDateTime
- function DateToStr(D: TDateTime): String
- function StrToDate(const s: String): TDateTime
- function FormatDateTime(const fmt: String; D: TDateTime): String
- procedure UnloadDll(s: string)
- function DLLGetLastError: Longint
- function Distance(X1, Y1, X2, Y2: Single): Single
- function menu2obj(Style: Byte): Byte
- function menu2weap(Style: Byte): Byte
- function obj2menu(Style: Byte): Byte
- function obj2weap(Style: Byte): Byte
- function weap2menu(Style: Byte): Byte
- function weap2obj(Style: Byte): Byte
Pages in category "Functions"
The following 33 pages are in this category, out of 33 total.
S
- ScriptCore3.Date
- ScriptCore3.DateTimeToUnix
- ScriptCore3.DateToStr
- ScriptCore3.DayOfWeek
- ScriptCore3.DecodeDate
- ScriptCore3.DecodeTime
- ScriptCore3.Distance
- ScriptCore3.EncodeDate
- ScriptCore3.EncodeTime
- ScriptCore3.ExecRegExpr
- ScriptCore3.FormatDateTime
- ScriptCore3.iif
- ScriptCore3.MD5
- ScriptCore3.menu2obj
- ScriptCore3.menu2weap
- ScriptCore3.Now
- ScriptCore3.obj2menu
- ScriptCore3.obj2weap
- ScriptCore3.QuoteRegExprMetaChars
- ScriptCore3.Random
- ScriptCore3.RegExprSubExpressions
- ScriptCore3.ReplaceRegExpr
- ScriptCore3.RGB
- ScriptCore3.SplitRegExpr
- ScriptCore3.StrToDate
- ScriptCore3.StrToInt
- ScriptCore3.Time
- ScriptCore3.TryEncodeDate
- ScriptCore3.TryEncodeTime
- ScriptCore3.UnixToDateTime
- ScriptCore3.weap2menu
- ScriptCore3.weap2obj
- ScriptCore3.WriteLn