I'm looking for smaller-scale dynamic-string allocation.
Arrays of strings are just contiguous arrays of pb string handles, right?
local S$(), pS as string ptr
dim S$(14)
pS = varptr( S$) 'NOT STRPTR!
@pS[1] = "This is string 1."
@pS[2] = "This is string 2."
@pS[3] = "This is string 3."
'etc...
------------------
Arrays of strings are just contiguous arrays of pb string handles, right?
local S$(), pS as string ptr
dim S$(14)
pS = varptr( S$) 'NOT STRPTR!
@pS[1] = "This is string 1."
@pS[2] = "This is string 2."
@pS[3] = "This is string 3."
'etc...
------------------
Comment