I'm not absolutely sure that you can do what you're wanting to do, in the way that you're wanting to do it... the ';' character is going to terminate the current command, and I don't think that you can pack that into a variable, and then unpack it correctly. (I can't quote chapter and verse from the bash man pages, so please take that with a large grain of salt)
What you can do, which is very similar, is create a shell function:
Code:
function A()
{
pwd
pwd
}
can be executed ...
Code:
$ A
/currentdirectory
/currentdirectory