Castle Game Engine: CastleScript: Class TCasScriptInteger

# Class TCasScriptInteger
Description | Hierarchy | Fields | Methods | Properties
## Unit CastleScript ## Declaration `type TCasScriptInteger = class(TCasScriptValue)` ## Description no description available, TCasScriptValue description follows no description available, TCasScriptExpression description follows ## Hierarchy TObject TCasScriptExpression TCasScriptValue TCasScriptInteger ## Overview ### Methods
| `constructor Create(const AWriteable: boolean; const AValue: Int64);`
| `constructor Create(const AWriteable: boolean); override;`
| `destructor Destroy; override;`
| `procedure AssignValue(Source: TCasScriptValue); override;`
| `function PromoteToFloat: TCasScriptFloat;`
### Properties
| `property Value: Int64 read FValue write SetValue;`
## Description ### Methods
| `constructor Create(const AWriteable: boolean; const AValue: Int64);`
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); override;`
| `destructor Destroy; override;`
| `procedure AssignValue(Source: TCasScriptValue); 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.13.0 on 2015-06-15 04:43:11