When you are setting a value to a variable that is actually an object then you must follow some special syntax. The SET keyword lets VBScript know that you are setting your variable equal to an object. In addition to this, you also have to set the variable equal to nothing after you are finished with it.
And I'm guessing that the colon is a statement separator. So VBScript sees a SET z=nothing followed by a REMark.