Article ID: 142214
Article Last Modified on 9/30/2003
RELEASE lcMycharuse this:
RELEASE ALL LIKE lcMycharThe RELEASE ALL command does not release local variables that have been declared in other procedures or functions, even if they have the same name as a local variable in the current procedure.
LOCAL lcNewVar lcNewVar="one" =Changeit() ?lcNewVar && This command returns the error "Variable not Found" RETURN .T. PROCEDURE Changeit LOCAL lcNewVar lcNewVar="two" DISPLAY MEMO LIKE lc* RELEASE lcNewVar * Comment the line above and uncomment the following line * RELEASE ALL LIKE lcNewVar DISPLAY MEMO LIKE lc* RETURN .T.
Keywords: kbbug kbfix kbvfp500fix KB142214