Syntax
Get/set a scalar extra variable.
a - extra value
sp - scalar pointer
i - Optional extra index (if not provided, then i is taken to equal 1)