Ian,
You mentioned you do other programming, I can see how using variables in G code will seem natural to you and I'm expecting the same myself, I used to write a lot of C code for PC's in the 80's using an Amstrad 1512 then later an IBM PC clone, I also guessed you might be doing repetitive work and hence not playing with the code much.