Gambas Documentation - /lang/long@

/lang/long@

# Long@

Result = Long@ ( Pointer AS Pointer )

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

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

Result = Long@ ( String AS String )

Return the Long value stored in the eight first characters of String.

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

### See also

- External Function Management