Gambas Documentation - /cat/externfunc

# External Function Management

`Alloc` | Allocates a memory block.
`Boolean@` | Return the Boolean value located at a given memory address.
`Byte@` | Return the Byte value located at a given memory address.
`EXTERN` | Declares an external function.
`Float@` | Return the Float value located at a given memory address.
`Free` | Frees a memory block allocated with Alloc.
`Integer@` | Return the Integer value located at a given memory address.
`LIBRARY` | Defines the library where external functions are located.
`Long@` | Return the Long value located at a given memory address.
`MkBoolean$` | Return the memory representation of a Boolean as a string.
`MkByte$` | Return the memory representation of a Byte as a string.
`MkDate$` | Return the memory representation of a Date as a string.
`MkFloat$` | Return the memory representation of a Float as a string.
`MkInteger$` | Return the memory representation of an Integer as a string.
`MkLong$` | Return the memory representation of a Long as a string.
`MkPointer$` | Return the memory representation of a /wiki/cat/type/pointer as a string.
`MkShort$` | Return the memory representation of a /wiki/cat/type/short as a string.
`MkSingle$` | Return the memory representation of a /wiki/cat/type/single as a string.
`Pointer@` | Return the Pointer value located at a given memory address.
`Realloc` | Shrinks or expands a memory block allocated with Alloc.
`Short@` | Return the Short value located at a given memory address.
`Single@` | Return the Single value located at a given memory address.
`StrPtr` | Returns a copy of a zero-terminated string located at a given memory address.
`String@` | Returns a copy of a zero-terminated string located at a given memory address.
`VarPtr` | Returns a pointer that points at the contents of a variable.

### See also

- External Function Declaration

- How To Interface Gambas With External Libraries