This format, %sl (Slider), produces a vertical or horizontal (default) slider control n average characters wide. It takes three arguments which are all floating point values. The first is a variable to hold the current value, the second its lower limit and the third is the upper limit.
For example:
WINAPP
INTEGER i,winio@
DOUBLE PRECISION max,min,value,def
DATA max,min,def,value/10.0,0.0,1.0,5.0/
i=winio@('%ca[Slider]%bg[grey]%`cn&')
i=winio@('%20sl&',value,min,max)
i=winio@('%2nl Value is &')
i=winio@('%df%fl%6rf',def,min,max,value)
END