*** With the DFWRITE/LN commands you can use 1-3 arguments *** 1. Not Required = Text *** 2. Not Req. = FonstStyle *** 3. Not Req. = Number of decimals *** !!! If you want to set decimals you MUST use all 3 arguments ***
#IF (!0=3) #IFCLASS !1 "F" // if file field we want to rtrim the value - only works with WP2 Send DFWriteLn of WinPrintID !1 !2 0 !3 1 // last param is 0 or 1 - 1=right trim #ELSE Send DFWriteLn of WinPrintID !1 !2 0 !3 0 #ENDIF #ENDIF #IF (!0=2) DFWriteln !1 !2 -1 #ENDIF #IF (!0=1) DFWriteln !1 FONT_DEFAULT -1 #ENDIF #IF (!0=0) DFWriteln "" FONT_DEFAULT -1 #ENDIF