Include file:
val=paste([flag] :val) -- toggle or set paste mode, default is 0, always paste new graphics