WPALETTE-UPDATE (op-code 5)

In order to allow you to change several colors efficiently, W$PALETTE does not immediately apply the new palette after you change it. It waits until the next screen update (usually caused by either an ACCEPT or DISPLAY statement). In most cases this is adequate. If you want to force the screen to be updated immediately with the new palette, you can use the WPALETTE-UPDATE function. WPALETTE-DATA is not used. The effect is to update the screen with the new palette and return.