4 ms·
Or Nim: var str: array[10, ptr byte] (and much richer types) Edit: and while I'm here, Nim has other sensible syntax for this low level stuff... var
by Jach 10y ago
Or Nim:
var str: array[10, ptr byte]
(and much richer types)
Edit: and while I'm here, Nim has other sensible syntax for this low level stuff...
var b: byte = 10
str[0] = addr b
echo $str[0][]