Error 491 - Invalid register variable

Invalid register variable - Register variables may only contain Integer, Word, Long-integer, Double-word, or Extended-precision floating-point variables. This error can also occur when attempting to use a register variable where a memory variable can only be used.  For example, with VARPTR.

 

See Also

Optimizing your code