Are you doing this in the Create New User Code Block dialog? The bulb should have turned yellow (valid new heap item name). Maybe it was too long also? (but then it should have told you that).
Or was this in a RUN instruction editor (you can indirectly create code-blocks from the RUN, ENTASK, and CALL instructions)?