Thanks to Static variables in the sub you can save the state by making the Restore input to sub 0 False and then to Restore = True which instructs sub to restore all the settings that it had stored into Static variables: colors, font, autodisplay or Display, Dest, Source... even print line and column! Like getting 2 subs for the price of one.
b = b + ...