Since Nasm expects macro parameters to be separated by commas, it's going to have trouble with "myvar:dword". With the (relatively new) substring capabilities, it "should" be possible to "parse" for the colon, and make two parameters out of one. If you can live with the comma, Alfonso, that would be much easier.
Best,
Frank