A 4x40 is really two 2x40's.
And it can be handled this way ... http://www.picbasic.co.uk/forum/show...=2388#post2388