1. #we set up the viewports we're calling first...
  2. #
  3. %Vl(foo,0,0,100,100,1)
  4. %Vl(bar,0,0,200,200,1)
  5. #
  6. # Now the viewport we're calling them in (if its not drawn in the default (fullscreen) viewport)...
  7. #
  8. %V(0,0,200,200,-)
  9. #
  10. # Now the condition (we'll make up a bullshit tag here) to switch between displaying viewport "foo" or "bar"...
  11. #
  12. %?Xx<%Vd(foo)|%Vd(bar)>
  13. #
  14. # END