QB64 is a modern extended BASIC programming language that retains QBasic/QuickBASIC 4.5 compatibility and compiles native binaries for Windows, Linux, and macOS.

The VARPTR function returns an INTEGER value that is the offset part of the variable or array memory address within it’s segment.


offset% = VARPTR(variable_name[(reference_index%)])

See Also