Skip to content

iGet function

Xusinboy Bekchanov edited this page Oct 30, 2023 · 2 revisions

Dereferences a pointer to Integer.

Syntax

Declare Function iGet(Value As Any Ptr) As Integer

The iGet function syntax has these named arguments:

Part Description
Value Required. Pointer to dereference. If the value is NULL, 0 is returned.

Example

This example shows how to use the iGet function.

#include "mff/Integer.bi"

Dim p As Integer Ptr

Print iGet(p)

p = Allocate(SizeOf(Integer))

*p = 10

Print iGet(p)

Delete p

Sleep

See also

Clone this wiki locally