fix bug in variable addressing if they weren't immediately written to
This commit is contained in:
		@@ -679,7 +679,7 @@ func (b *Builtins) Variable(c *Context) func(string) error {
 | 
			
		||||
				c.Dictionary.AddWord(string(w), Word{Name: string(w), Variable: next})
 | 
			
		||||
				j, _ := c.RStack.Pop()
 | 
			
		||||
				c.RStack.Push(j + i - 1) // push the end-point onto the stack
 | 
			
		||||
				return nil
 | 
			
		||||
				return c.Memory.Write(next, []int{0})
 | 
			
		||||
			default:
 | 
			
		||||
				w = append(w, next[i])
 | 
			
		||||
				continue
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user