Thanks for the help; that confirms my suspicions.

As to why I got an error even when I moved the print into the block, I'll
chalk that up to a typo on my part, plus hastily mis-reporting to the group.
(It must've been a different error, which I neglected in my fatigue to
notice.  I should've double-checked it before posting on it.)

-- dan