Gambas Documentation - /lang/integer@

# Integer@

Result = Int@ ( Pointer AS Pointer ) Result = Integer@ ( Pointer AS Pointer )

Returns the Integer value stored at the memory address specified by Pointer.

If the memory address is unreadable, a Bad argument (20) error is raised.

Result = Int@ ( String AS String ) Result = Integer@ ( String AS String )

Return the Integer value stored in the four first characters of String.

If the string does not have at least four characters, either a Bad argument (20) error is raised or an undefined result is returned.

### See also

- External Function Management