Re: 4GL Dynamic "USING" format clause
Posted in 1995
In article <johnca-200495155628@47.201.1.65>, johnca@bnr.ca says most eloquently... > >If I define a variable as a char value and assign it a valid format string >in >4GL Version 4.00.UH2 it displays the correct result. >The following program gives an example of what I mean. > >Main > >Define a decimal >Define b char(25) >define c char(25) > >let a = 1.0 >let b = "-----&&" > >let c = a using b clipped >display "'",c clipped,"'" > >end main > >When run using Version 4.00.UH2 it displays as: ' 01' >In version 4.12.UE2 it displays as: '1.00' > >If anyone has any insight into this problem please feel free to respond. > >Thanks > >John Campbell >johnca@bnr.ca Why aren't you just letting c = a ? LET c = a USING "---&&" LET b = c CLIPPED ( LET c = c CLIPPED doesn't always work ) Tim -- \\\\|// (o o) ==============================---o00--(_)--00o---============================ Tim Schaefer http://www.gate.net/~tschaefe The Computer Business Company, Inc. tschaefe@gate.net Coconut Creek, FL, USA INXUTIL 2.0 is now absolutely FREE Ub...eh...Now, see, who gets to ask the questions here? --Ross Perot =============================================================================