I'm using variables for line numbers, and I want to delete a range of lines using these variables. How do I do that?
let x = 5
let y = 20
" I want to delete the range of lines from x to y (i.e., 5-20)
" I guessed at this, but it doesn't work:
x,ydelete
" E15: Invalid expression: ",ydelete"
Extra credit for providing reference(s) to the vim documentation that explains this. (I searched the docs for "variable" but didn't find what I needed)