I notice that if you use more than %rs in a window then one apparently has to have a separate declaration for each occurrence. For example, the following code prints two Bs rather than A and B.
Winapp
Program p
Use clrwin, Only: winio$
Character :: c
Integer :: iw
c = 'A'
iw = winio$('%`rs&', c)
c = 'B'
iw = winio$('%`rs&', c)
iw = winio$(' ')
End Program p
Am I correct in assuming that I must store A and B separately?