Pointer
A variable declaration type modifier
Syntax
Description
Example
Dim p As ZString Pointer
Dim text As String
text = "Hello World!"
p = StrPtr(text) + 6
Print text
Print *p
'' Output:
'' Hello World!
'' World!
Dim text As String
text = "Hello World!"
p = StrPtr(text) + 6
Print text
Print *p
'' Output:
'' Hello World!
'' World!
Dialect Differences
- Not available in the -lang qb dialect unless referenced with the alias __Pointer.
Differences from QB
- New to FreeBASIC
See also