Mnemonics
'+S' & '-S' Substitute Solid Lines On/Off
Behaviour or GUI Printer
 
Format Substitute Solid Lines: '+S'
Do not Substitute: '-S'
 
Description When you use '+S', ProvideX automatically replaces two or more occurrences of the underscore, dash or equals sign ( _ - =) with solid underlines in graphics mode when printing to *WINPRT*. This only applies to fields that are printed separately. (Primarily for use in legacy code where these characters were used in place of solid lines.) Use '-S' to disable '+S'.


*Note* This is not for use on display devices.


 
Example 0010 DIM A$(10,"_"),B$(10,"-"),C$(10,"=")
0020 LET CHAN=UNT; OPEN (CHAN,ERR=*END)"*winprt*"
0030 PRINT (CHAN)'FONT'("MS Sans Serif",1),'DF',
0040 PRINT (CHAN)'-S',@(0),A$,@(12),B$,@(24),C$
0050 PRINT (CHAN)'+S',@(0),A$,@(12),B$,@(24),C$
0060 PRINT (CHAN)@(0),A$+" "+B$+" "+C$
In the example above, ProvideX will only print solid lines when it executes line 0050. It will neither print solid lines for line 0040 (with '-S') nor for line 0060 (where the string expression does not exclusively contain underscores, dashes and/or equals signs).