Class TCasScriptInteger
Unit
CastleScript
Declaration
type TCasScriptInteger = class(TCasScriptValue)
Description
No description available, ancestor TCasScriptValue description follows
No description available, ancestor TCasScriptExpression description follows
Hierarchy
Overview
Methods
Properties
|
property Value: Int64 read FValue write SetValue; |
Description
Methods
|
constructor Create(const AWriteable: boolean; const AValue: Int64); reintroduce; overload; |
Comfortable constructor to set initial Value. Note that the inherited constructor (without AValue parameter) is also fine to use, it will set value to zero.
|
|
constructor Create(const AWriteable: boolean); reintroduce; overload; override; |
|
|
destructor Destroy; override; |
|
|
function PromoteToFloat: TCasScriptFloat; |
Returns this integer promoted to float.
This object is kept and owned by this TCasScriptInteger instance, so it's valid as long as this TCasScriptInteger instance is valid. This allows you to safely use this (since you may have to return PromoteToFloat as return value of some Execute expressions, so it desirable that it's valid object reference).
|
Properties
|
property Value: Int64 read FValue write SetValue; |
|
Generated by PasDoc 0.16.0.