There are no variable pointers or references in DBPRO...
You might be able to hack something together using make memory... but it wouldn't be very readable...
wordPtr as dword REM - Create a pointer
wordPtr = make memory(2) REM - Make it point to a word sized memory location (2 bytes)
var as word REM - Make a WORD variable.
var = 4321
*wordPtr = var REM - Assign the variable to the pointers memory.
MyFunction(wordPtr) REM - Pass the mem pointer when calling a function.
function MyFunction(wPtr as dword)
fVar as word
fVar = *wPtr REM - Get the value from the pointer.
endfunction