try doubling up the the "$" to be "$$"

Eventually, Doc or Lonk will mention DIMming the vars and that the nul statements at the end aren't necessary
_________________________
How to ask questions the smart way <-----------> Before you ask