Get  Integer

The Get function returns the stored value.
As with Float and String objects, you can use the variable name itself to get the value of an Integer (see example below and Seccia language documentation for further details).

Syntax

Integer Integer.Get()

Parameters

The Get function has no parameters.

Return value

The Get function returns the stored value.

Example

// Create an Integer named myInteger
Integer myInteger

// Set myInteger value to 10
myInteger = 10

// Display myInteger value in a message box using the Get function
MessageBox("Current value: " + myInteger.Get())

// Display myInteger value in a message box using the variable name "myInteger" itself
MessageBox("Current value: " + myInteger)
SECCIA Documentation - Copyright © 2001-2009 Sylvain Seccia