KM8: Local and Instance Variables

Another bug report:

KM8: Bug Report - Calculation with Local Variable Fails