Previous issue Thread #
951922Bug/Issue : 3 of 27
TITLE: Bug: call by Reference hide Public and Private variables
VERSION: 09.00.0000.1720 and previous
STEPS TO REPRODUCE:
clear
PUBLIC myvar
myvar = 'i want see this'
ON ERROR ? MESSAGE()
? ABRA(m.myvar)
? ABRA(@m.myvar)
ON ERROR
PROCEDURE ABRA (pVar)
RETURN m.myvar
RETURN ' -> BUG '
OBSERVED BEHAVIOR:
When the call by reference is made, VFP hide the external PUBLIC and PRIVATE variables
EXPECTED BEHAVIOR:
VFP does not have to hide these variables.