QB64.com

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 VARSEG function returns an INTEGER value that is the segment part of a variable or array memory address.

Syntax

DEF SEG = VARSEG(variable_name[(start_index)])

See Also