Difference between revisions of "Category:Functions"
Line 27: | Line 27: | ||
* function [[ScriptCore3.DLLGetLastError|DLLGetLastError]]: Longint | * function [[ScriptCore3.DLLGetLastError|DLLGetLastError]]: Longint | ||
* function [[ScriptCore3.Distance|Distance]](X1, Y1, X2, Y2: Single): Single | * function [[ScriptCore3.Distance|Distance]](X1, Y1, X2, Y2: Single): Single | ||
− | |||
* function [[ScriptCore3.menu2obj|menu2obj]](Style: Byte): Byte | * 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.obj2weap|obj2weap]](Style: Byte): Byte | ||
− | |||
* function [[ScriptCore3.weap2menu|weap2menu]](Style: Byte): Byte | * function [[ScriptCore3.weap2menu|weap2menu]](Style: Byte): Byte | ||
− | * function [[ScriptCore3. | + | * function [[ScriptCore3.weap2obj|weap2obj]](Style: Byte): Byte |
+ | |||
[[Category:ScriptCore 3]] | [[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